mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix threading issue while widget's killing itself
This commit is contained in:
parent
f6ff421aff
commit
c31192abee
|
@ -1276,7 +1276,8 @@ void Core::switchConfiguration(const QString& profile)
|
|||
HistoryKeeper::resetInstance();
|
||||
|
||||
start();
|
||||
Widget::getInstance()->setEnabledThreadsafe(true);
|
||||
if (isReady())
|
||||
Widget::getInstance()->setEnabledThreadsafe(true);
|
||||
}
|
||||
|
||||
void Core::loadFriends()
|
||||
|
|
Loading…
Reference in New Issue
Block a user