1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 19:14:06 +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
TomahawkWindow::closeEvent( QCloseEvent* e )
{
#ifndef Q_WS_MAC
if ( QSystemTrayIcon::isSystemTrayAvailable() )
{
e->ignore();
hide();
}
else
{
e->accept();
}
#endif
e->accept();
}