diff --git a/src/model/profile/profileinfo.cpp b/src/model/profile/profileinfo.cpp index fbf294c28..3ffc2684d 100644 --- a/src/model/profile/profileinfo.cpp +++ b/src/model/profile/profileinfo.cpp @@ -217,7 +217,7 @@ IProfileInfo::SaveResult ProfileInfo::exportProfile(const QString &path) const QVector ProfileInfo::removeProfile() { QVector manualDeleteFiles = profile->remove(); - QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin", Qt::BlockingQueuedConnection); + QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin"); return manualDeleteFiles; } @@ -227,7 +227,7 @@ QVector ProfileInfo::removeProfile() void ProfileInfo::logout() { Settings::getInstance().saveGlobal(); - QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin", Qt::BlockingQueuedConnection); + QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin"); } /**