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