mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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 )
|
TomahawkWindow::closeEvent( QCloseEvent* e )
|
||||||
{
|
{
|
||||||
#ifndef Q_WS_MAC
|
#ifndef Q_WS_MAC
|
||||||
if ( QSystemTrayIcon::isSystemTrayAvailable() )
|
if ( e->spontaneous() && QSystemTrayIcon::isSystemTrayAvailable() )
|
||||||
{
|
{
|
||||||
hide();
|
hide();
|
||||||
e->ignore();
|
e->ignore();
|
||||||
|
Reference in New Issue
Block a user