From 5d60044a9bcb5d230b43dc5cf6e22dda39ec1b37 Mon Sep 17 00:00:00 2001 From: Flavio Date: Mon, 13 Aug 2012 17:03:13 +0200 Subject: [PATCH] Black background --- src/videoareawidget.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.5