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);
|
clearPassword(ptHistory);
|
||||||
toxTimer->stop();
|
toxTimer->stop();
|
||||||
|
|
||||||
|
Widget::getInstance()->setEnabled(false);
|
||||||
if (tox) {
|
if (tox) {
|
||||||
toxav_kill(toxav);
|
toxav_kill(toxav);
|
||||||
toxav = nullptr;
|
toxav = nullptr;
|
||||||
@ -1372,6 +1373,7 @@ void Core::switchConfiguration(const QString& profile)
|
|||||||
HistoryKeeper::getInstance()->resetInstance();
|
HistoryKeeper::getInstance()->resetInstance();
|
||||||
|
|
||||||
start();
|
start();
|
||||||
|
Widget::getInstance()->setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Core::loadFriends()
|
void Core::loadFriends()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user