1
0
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:
Dubslow 2015-01-23 08:52:25 -06:00
parent f6ff421aff
commit c31192abee
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -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);
} }