summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/mphoneform.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/mphoneform.cpp b/src/gui/mphoneform.cpp
index 6c447a8..b829be8 100644
--- a/src/gui/mphoneform.cpp
+++ b/src/gui/mphoneform.cpp
@@ -3239,12 +3239,7 @@ void MphoneForm::whatsThis()
void MphoneForm::sysTrayIconClicked(QSystemTrayIcon::ActivationReason reason)
{
if (reason == QSystemTrayIcon::Trigger || reason == QSystemTrayIcon::DoubleClick)
- {
- if (sys_config->get_gui_hide_on_close())
- setVisible(!isVisible());
- else
- activateWindow();
- }
+ setVisible(!isVisible());
}
bool MphoneForm::event(QEvent * event)