diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp index 35a037ce74c1..3133e22cd759 100644 --- a/src/gui/accountstate.cpp +++ b/src/gui/accountstate.cpp @@ -578,7 +578,7 @@ void AccountState::slotCheckServerAvailibility() qCInfo(lcAccountState) << "Server is now available for account" << _account->davUser(); _lastCheckConnectionTimer.invalidate(); resetRetryCount(); - QMetaObject::invokeMethod(this, "slotCheckConnection", Qt::QueuedConnection); + QMetaObject::invokeMethod(this, &AccountState::slotCheckConnection, Qt::QueuedConnection); } }); }