Use new connect syntax for QMetaObject::invokeMethod

This commit is contained in:
Jonas Kvinge
2023-05-03 20:08:51 +02:00
parent 301e6b194a
commit e511b2faf9
14 changed files with 27 additions and 27 deletions

View File

@@ -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() {