Skip to content
Permalink
Browse files

Merge PR #3691: Minimize window on tray icon click

  • Loading branch information...
davidebeatrici committed May 9, 2019
2 parents d737867 + 48e793e commit 5a4f4cd7a45a1a4f54b35392db38303727fb90a3
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/mumble/MainWindow.cpp
@@ -3113,7 +3113,11 @@ void MainWindow::on_Icon_activated(QSystemTrayIcon::ActivationReason reason) {
case QSystemTrayIcon::Trigger:
case QSystemTrayIcon::DoubleClick:
case QSystemTrayIcon::MiddleClick:
if (isMinimized()) {
showRaiseWindow();
} else {
showMinimized();
}
default: break;
}
}

0 comments on commit 5a4f4cd

Please sign in to comment.
You can’t perform that action at this time.