windows: bring client to front on call

Refs #72073

Change-Id: Ic886056e8ac49646bbbb838d711d104868b7b747
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 21582d3..2120e97 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -40,6 +40,9 @@
     connect(&sysIcon_, SIGNAL(activated(QSystemTrayIcon::ActivationReason)),
             this, SLOT(trayActivated(QSystemTrayIcon::ActivationReason)));
 
+    connect(CallModel::instance(), SIGNAL(incomingCall(Call*)),
+            this, SLOT(onIncomingCall(Call*)));
+
     navStack_ = new NavStack(ui->bar, ui->stackedWidgetView, this);
     ui->verticalLayout_2->addWidget(
                 new QSizeGrip(this), 0, Qt::AlignBottom | Qt::AlignRight);
@@ -71,3 +74,8 @@
     if (reason != QSystemTrayIcon::ActivationReason::Context)
         this->show();
 }
+
+void MainWindow::onIncomingCall(Call *call) {
+    Q_UNUSED(call);
+    QWidget::showNormal();
+}