mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #557
This commit is contained in:
parent
12bba9fe68
commit
85d3a7275b
@ -1355,6 +1355,7 @@ void Core::switchConfiguration(const QString& profile)
|
||||
clearPassword(ptHistory);
|
||||
toxTimer->stop();
|
||||
|
||||
Widget::getInstance()->setEnabled(false);
|
||||
if (tox) {
|
||||
toxav_kill(toxav);
|
||||
toxav = nullptr;
|
||||
@ -1372,6 +1373,7 @@ void Core::switchConfiguration(const QString& profile)
|
||||
HistoryKeeper::getInstance()->resetInstance();
|
||||
|
||||
start();
|
||||
Widget::getInstance()->setEnabled(true);
|
||||
}
|
||||
|
||||
void Core::loadFriends()
|
||||
|
Loading…
x
Reference in New Issue
Block a user