1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

We're not a document based app, so let's not try to be have like one (and fail doing so). I don't mind if someone reintroduces a more iTunes-like behavior on OS X, but at least this doesn't break things anymore.

This commit is contained in:
Christian Muehlhaeuser 2014-10-09 03:42:48 +02:00
parent b1876959fa
commit 10484c9ebc
2 changed files with 4 additions and 6 deletions

View File

@ -172,7 +172,10 @@ TomahawkApp::init()
m_headless = true;
m_headless = arguments().contains( "--headless" );
setWindowIcon( QIcon( RESPATH "icons/tomahawk-icon-128x128.png" ) );
#ifndef Q_OS_MAC
setQuitOnLastWindowClosed( false );
#endif
if ( arguments().contains( "--splash" ) )
{

View File

@ -751,14 +751,9 @@ TomahawkWindow::closeEvent( QCloseEvent* e )
e->ignore();
return;
}
#else
if ( m_trayIcon )
{
m_trayIcon->setShowHideWindow( false );
}
#endif
e->accept();
QMainWindow::closeEvent( e );
}