mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
c4fb495eb6
commit
a49e34589f
|
@ -217,7 +217,7 @@ IProfileInfo::SaveResult ProfileInfo::exportProfile(const QString &path) const
|
|||
QVector<QString> ProfileInfo::removeProfile()
|
||||
{
|
||||
QVector<QString> manualDeleteFiles = profile->remove();
|
||||
QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin", Qt::BlockingQueuedConnection);
|
||||
QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin");
|
||||
return manualDeleteFiles;
|
||||
}
|
||||
|
||||
|
@ -227,7 +227,7 @@ QVector<QString> ProfileInfo::removeProfile()
|
|||
void ProfileInfo::logout()
|
||||
{
|
||||
Settings::getInstance().saveGlobal();
|
||||
QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin", Qt::BlockingQueuedConnection);
|
||||
QMetaObject::invokeMethod(&Nexus::getInstance(), "showLogin");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user