From: <> Date: Wed, 4 Aug 2010 19:28:57 +0000 (+0200) Subject: Cleanup X-Git-Tag: 1.2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc4cf54e67ad0899228f0bd80bb2b47b94e131af;p=minitube Cleanup --- diff --git a/src/SearchView.cpp b/src/SearchView.cpp index 98e2c74..345722e 100644 --- a/src/SearchView.cpp +++ b/src/SearchView.cpp @@ -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);