mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
* Fixed TWK-101: Don't cancel system logout / shutdown.
This commit is contained in:
@@ -350,7 +350,7 @@ void
|
||||
TomahawkWindow::closeEvent( QCloseEvent* e )
|
||||
{
|
||||
#ifndef Q_WS_MAC
|
||||
if ( QSystemTrayIcon::isSystemTrayAvailable() )
|
||||
if ( e->spontaneous() && QSystemTrayIcon::isSystemTrayAvailable() )
|
||||
{
|
||||
hide();
|
||||
e->ignore();
|
||||
|
Reference in New Issue
Block a user