mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
Don't set a window icon on OSX and don't try to use the unified toolbar anymore.
This commit is contained in:
@@ -174,12 +174,10 @@ TomahawkApp::init()
|
|||||||
QWebSettings::globalSettings()->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, true);
|
QWebSettings::globalSettings()->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, true);
|
||||||
//QWebSettings::setOfflineStoragePath(QLatin1String("/tmp"));
|
//QWebSettings::setOfflineStoragePath(QLatin1String("/tmp"));
|
||||||
|
|
||||||
|
|
||||||
m_headless = true;
|
|
||||||
m_headless = arguments().contains( "--headless" );
|
m_headless = arguments().contains( "--headless" );
|
||||||
setWindowIcon( QIcon( RESPATH "icons/tomahawk-icon-128x128.png" ) );
|
|
||||||
|
|
||||||
#ifndef Q_OS_MAC
|
#ifndef Q_OS_MAC
|
||||||
|
setWindowIcon( QIcon( RESPATH "icons/tomahawk-icon-128x128.png" ) );
|
||||||
setQuitOnLastWindowClosed( false );
|
setQuitOnLastWindowClosed( false );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -270,7 +270,6 @@ TomahawkWindow::applyPlatformTweaks()
|
|||||||
qApp->setStyle( new ProxyStyle( isQtCurve ) );
|
qApp->setStyle( new ProxyStyle( isQtCurve ) );
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
setUnifiedTitleAndToolBarOnMac( true );
|
|
||||||
delete ui->hline1;
|
delete ui->hline1;
|
||||||
delete ui->hline2;
|
delete ui->hline2;
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user