Use static QMetaObject::invokeMethod
This commit is contained in:
@@ -97,7 +97,7 @@ Database::~Database() {
|
||||
}
|
||||
|
||||
void Database::ExitAsync() {
|
||||
metaObject()->invokeMethod(this, "Exit", Qt::QueuedConnection);
|
||||
QMetaObject::invokeMethod(this, "Exit", Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
void Database::Exit() {
|
||||
|
||||
Reference in New Issue
Block a user