aboutsummaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 92ec5fc..eefa337 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -88,15 +88,20 @@ void Session::setStatus(QString status) {
// Clear current variables
this->init_vars();
_main_gui->setStatusIndicator(true, QColor(255, 0, 0, 127));
+
+ emit _main_gui->showWindow();
} else if (status == "stopped") {
/* Session is stopped */
guiString = tr("Remote Support session was stopped");
// Clear current variables
this->init_vars();
+
+ emit _main_gui->showWindow();
} else if (status == "active") {
/* Partner is connected */
if (!_minimizedBefore) {
+ qDebug() << "Minimizing window now...";
emit _main_gui->minimizeWindow();
_minimizedBefore = true;
}