aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Pinon <[email protected]>2015-02-16 14:34:57 +0100
committerJean-Baptiste Mardelle <[email protected]>2015-02-16 22:44:53 +0100
commit979b73cff91564c773e4447fd326bb509fecbff1 (patch)
treec6a469de49e03a7840631115311f2e0040946e4b
parentf6ad65c362f780e67a47a71304484ea0c4685d66 (diff)
Fix warning about paintEngine
-rw-r--r--src/monitor/monitoreditwidget.cpp1
-rw-r--r--src/monitor/recmonitor.cpp1
-rw-r--r--src/monitor/videoglwidget.cpp1
-rw-r--r--src/monitor/videosurface.cpp1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/monitor/monitoreditwidget.cpp b/src/monitor/monitoreditwidget.cpp
index 1027843..176b269 100644
--- a/src/monitor/monitoreditwidget.cpp
+++ b/src/monitor/monitoreditwidget.cpp
@@ -37,7 +37,6 @@ MonitorEditWidget::MonitorEditWidget(Render* renderer, QWidget* parent) :
QWidget(parent)
{
setAutoFillBackground(true);
- setAttribute(Qt::WA_PaintOnScreen, false);
setAttribute(Qt::WA_OpaquePaintEvent, false);
setContentsMargins(0, 0, 0, 0);
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
diff --git a/src/monitor/recmonitor.cpp b/src/monitor/recmonitor.cpp
index 88cb72a..3c4c2a5 100644
--- a/src/monitor/recmonitor.cpp
+++ b/src/monitor/recmonitor.cpp
@@ -56,7 +56,6 @@ RecMonitor::RecMonitor(Kdenlive::MonitorId name, MonitorManager *manager, QWidge
{
setupUi(this);
- //video_frame->setAttribute(Qt::WA_PaintOnScreen);
device_selector->setCurrentIndex(KdenliveSettings::defaultcapture());
connect(device_selector, SIGNAL(currentIndexChanged(int)), this, SLOT(slotVideoDeviceChanged(int)));
// Video widget holder
diff --git a/src/monitor/videoglwidget.cpp b/src/monitor/videoglwidget.cpp
index f253fcd..d0a774b 100644
--- a/src/monitor/videoglwidget.cpp
+++ b/src/monitor/videoglwidget.cpp
@@ -46,7 +46,6 @@ VideoGLWidget::VideoGLWidget(QWidget *parent)
, m_display_ratio(4.0 / 3.0)
, m_backgroundColor(Qt::gray)
{
- setAttribute(Qt::WA_PaintOnScreen);
setAttribute(Qt::WA_OpaquePaintEvent);
}
diff --git a/src/monitor/videosurface.cpp b/src/monitor/videosurface.cpp
index f5bc923..9415b8b 100644
--- a/src/monitor/videosurface.cpp
+++ b/src/monitor/videosurface.cpp
@@ -25,7 +25,6 @@ VideoSurface::VideoSurface(QWidget* parent) :
QWidget(parent)
{
// MonitorRefresh is used as container for the SDL display (it's window id is passed to SDL)
- setAttribute(Qt::WA_PaintOnScreen);
setAttribute(Qt::WA_OpaquePaintEvent);
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
setAttribute(Qt::WA_NoSystemBackground);