From: Flavio Date: Mon, 13 Aug 2012 15:03:13 +0000 (+0200) Subject: Black background X-Git-Tag: 1.9~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d60044a9bcb5d230b43dc5cf6e22dda39ec1b37;p=minitube Black background --- diff --git a/src/videoareawidget.cpp b/src/videoareawidget.cpp index 0efdbb4..7bbbeee 100644 --- a/src/videoareawidget.cpp +++ b/src/videoareawidget.cpp @@ -9,12 +9,10 @@ VideoAreaWidget::VideoAreaWidget(QWidget *parent) : QWidget(parent) { vLayout->setMargin(0); vLayout->setSpacing(0); -#ifdef APP_WIN QPalette p = palette(); p.setBrush(QPalette::Window, Qt::black); setPalette(p); setAutoFillBackground(true); -#endif // hidden message widget messageLabel = new QLabel(this); @@ -26,7 +24,7 @@ VideoAreaWidget::VideoAreaWidget(QWidget *parent) : QWidget(parent) { messageLabel->setWordWrap(true); messageLabel->hide(); vLayout->addWidget(messageLabel); - + stackedLayout = new QStackedLayout(); vLayout->addLayout(stackedLayout);