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,6 +1276,7 @@ void Core::switchConfiguration(const QString& profile)
|
||||||
HistoryKeeper::resetInstance();
|
HistoryKeeper::resetInstance();
|
||||||
|
|
||||||
start();
|
start();
|
||||||
|
if (isReady())
|
||||||
Widget::getInstance()->setEnabledThreadsafe(true);
|
Widget::getInstance()->setEnabledThreadsafe(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user