]> git.sur5r.net Git - minitube/commitdiff
Cleanup
author <> <>
Wed, 4 Aug 2010 19:28:57 +0000 (21:28 +0200)
committerFlavio <flavio@guodil.local>
Wed, 4 Aug 2010 19:28:57 +0000 (21:28 +0200)
src/SearchView.cpp

index 98e2c74e00bdca9081be50318eb856092e67b515..345722e0b59f47ef2fa70470f4147491bacead25 100644 (file)
@@ -14,14 +14,7 @@ SearchView::SearchView(QWidget *parent) : QWidget(parent) {
     QFont biggerFont = FontUtils::big();
     QFont smallerFont = FontUtils::smallBold();
 
-    /*
-    QPalette palette = QPalette();
-    palette.setColor(QPalette::Active, QPalette::Window, QColor(0xdd, 0xe4, 0xeb));
-    setPalette(palette);
-    setAutoFillBackground(true);
-    */
-
-#ifdef Q_WS_MAC
+#ifdef APP_MAC
     // speedup painting since we'll paint the whole background
     // by ourselves anyway in paintEvent()
     setAttribute(Qt::WA_OpaquePaintEvent);