Use new connect syntax for QMetaObject::invokeMethod
This commit is contained in:
@@ -91,7 +91,7 @@ Database::~Database() {
|
||||
}
|
||||
|
||||
void Database::ExitAsync() {
|
||||
QMetaObject::invokeMethod(this, "Exit", Qt::QueuedConnection);
|
||||
QMetaObject::invokeMethod(this, &Database::Exit, Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
void Database::Exit() {
|
||||
|
||||
Reference in New Issue
Block a user