Commit 023e8f1e authored by Edric Milaret's avatar Edric Milaret

fix some compilation warning

Refs #76262

Change-Id: Ife5715b39f03abec49bda2e2f2a45e5ea3895368
parent d8528fa2
......@@ -165,6 +165,7 @@ CallWidget::checkRegistrationState(Account *account,
p.setBrush(Qt::yellow);
break;
case Account::RegistrationState::READY:
{
p.setBrush(Qt::green);
auto a_count = AccountModel::instance()->rowCount();
for (int i = 0; i < a_count; ++i) {
......@@ -178,6 +179,9 @@ CallWidget::checkRegistrationState(Account *account,
return;
}
}
}
break;
default:
break;
}
p.drawEllipse(3, 3, 16, 16);
......
......@@ -385,7 +385,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="stateLabel">
<property name="text">
<string>State:</string>
</property>
......
......@@ -121,6 +121,7 @@ InstantMessagingWidget::keyPressEvent(QKeyEvent *event)
void
InstantMessagingWidget::showEvent(QShowEvent *event)
{
Q_UNUSED(event)
ui->messageInput->setFocus();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment