From 7f4d64d8dc8f61ce948897460b9d0381fe684cb4 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 21 Jul 2011 00:43:03 +0200 Subject: [PATCH] * Always apply ProxyStyle. --- src/tomahawkwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tomahawkwindow.cpp b/src/tomahawkwindow.cpp index 7fcbd08ca..39ecaab5e 100644 --- a/src/tomahawkwindow.cpp +++ b/src/tomahawkwindow.cpp @@ -160,13 +160,11 @@ TomahawkWindow::saveSettings() void TomahawkWindow::applyPlatformTweaks() { -#ifdef Q_WS_X11 // HACK QtCurve causes an infinite loop on startup. This is because setStyle calls setPalette, which calls ensureBaseStyle, // which loads QtCurve. QtCurve calls setPalette, which creates an infinite loop. The UI will look like CRAP with QtCurve, but // the user is asking for it explicitly... so he's gonna be stuck with an ugly UI. if ( !QString( qApp->style()->metaObject()->className() ).toLower().contains( "qtcurve" ) ) qApp->setStyle( new ProxyStyle() ); -#endif #ifdef Q_WS_MAC setUnifiedTitleAndToolBarOnMac( true );