1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(settings): Properly update taskbar on disconnect

Fixes: #3795
This commit is contained in:
Alice Weigt 2016-10-24 22:45:59 -07:00
parent 1c2b271716
commit 6e165ceb47

View File

@ -626,7 +626,7 @@ void Widget::onConnected()
void Widget::onDisconnected()
{
ui->statusButton->setEnabled(false);
emit statusSet(Status::Offline);
emit Core::getInstance()->statusSet(Status::Offline);
}
void Widget::onFailedToStartCore()