1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-17 19:37:09 +02:00

* Dont hide in SysTray on OSX.

This commit is contained in:
Christian Muehlhaeuser
2010-11-25 07:58:14 +01:00
parent 86c87deb0e
commit 15e2db9372

View File

@@ -175,15 +175,15 @@ TomahawkWindow::changeEvent( QEvent* e )
void void
TomahawkWindow::closeEvent( QCloseEvent* e ) TomahawkWindow::closeEvent( QCloseEvent* e )
{ {
#ifndef Q_WS_MAC
if ( QSystemTrayIcon::isSystemTrayAvailable() ) if ( QSystemTrayIcon::isSystemTrayAvailable() )
{ {
e->ignore(); e->ignore();
hide(); hide();
} }
else #endif
{
e->accept(); e->accept();
}
} }