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:
parent
f846b6cdaa
commit
602671c9dc
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user