diff options
Diffstat (limited to 'src/session.cpp')
-rw-r--r-- | src/session.cpp | 5 |
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; } |