From 9634fafe4b0b33686ab34cac3372ab3bb43c48e4 Mon Sep 17 00:00:00 2001 From: Marcin Panniak Date: Mon, 20 Apr 2020 22:14:00 +0200 Subject: [PATCH] Fix tray right click on Linux (#164) --- src/MEGASync/MegaApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEGASync/MegaApplication.cpp b/src/MEGASync/MegaApplication.cpp index a346ff3844..27b30d670c 100755 --- a/src/MEGASync/MegaApplication.cpp +++ b/src/MEGASync/MegaApplication.cpp @@ -6030,7 +6030,7 @@ void MegaApplication::trayIconActivated(QSystemTrayIcon::ActivationReason reason return; } -#ifdef _WIN32 +#if defined _WIN32 || defined Q_OS_LINUX if (reason == QSystemTrayIcon::Context) { return;