diff --git a/src/tomahawkwindow.cpp b/src/tomahawkwindow.cpp index f6635e9df..144114601 100644 --- a/src/tomahawkwindow.cpp +++ b/src/tomahawkwindow.cpp @@ -350,7 +350,7 @@ void TomahawkWindow::closeEvent( QCloseEvent* e ) { #ifndef Q_WS_MAC - if ( QSystemTrayIcon::isSystemTrayAvailable() ) + if ( e->spontaneous() && QSystemTrayIcon::isSystemTrayAvailable() ) { hide(); e->ignore();