mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
macOS: system tray behaviour
Do not open/close Jami on click on the Jami system tray icon. Click on Jami system tray icon trigger context menu with options to show Jami and to close Jami. Change-Id: I2230cc958d23b6aff245a6eca6e7d0776f6a1687
This commit is contained in:
parent
3ac51f325a
commit
7ed3ec51e9
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ MainApplication::initSystray()
|
|||
if (reason != QSystemTrayIcon::ActivationReason::Context) {
|
||||
#ifdef Q_OS_WINDOWS
|
||||
restoreApp();
|
||||
#else
|
||||
#elif !defined(Q_OS_MACOS)
|
||||
QWindow* window = focusWindow();
|
||||
if (window)
|
||||
window->close();
|
||||
|
|
Loading…
Add table
Reference in a new issue