Skip to content
Snippets Groups Projects
Commit 7ed3ec51 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

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
parent 3ac51f32
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment