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:
parent
b1876959fa
commit
10484c9ebc
@ -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" ) )
|
||||
{
|
||||
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user