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

fix(core): don't set core status on connect, just update UI

This commit is contained in:
Anthony Bilinski 2019-09-12 16:47:36 -07:00
parent f846b6cdaa
commit 602671c9dc
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -698,7 +698,7 @@ void Widget::onCoreChanged(Core& core)
void Widget::onConnected() void Widget::onConnected()
{ {
ui->statusButton->setEnabled(true); ui->statusButton->setEnabled(true);
emit statusSet(core->getStatus()); emit core->statusSet(core->getStatus());
} }
void Widget::onDisconnected() void Widget::onDisconnected()