1
0
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:
Christian Muehlhaeuser
2011-09-07 04:17:00 +02:00
parent 216d4511f7
commit 8a6254c47e

View File

@@ -350,7 +350,7 @@ void
TomahawkWindow::closeEvent( QCloseEvent* e )
{
#ifndef Q_WS_MAC
if ( QSystemTrayIcon::isSystemTrayAvailable() )
if ( e->spontaneous() && QSystemTrayIcon::isSystemTrayAvailable() )
{
hide();
e->ignore();