summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-02-14 12:06:19 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-14 13:25:01 +0100
commit033d5859d2263c4bb411d1945c661358d82e7f63 (patch)
treeba8612a9afe761a2308f8d69e84d8037c009f6cc
parent41dc5467bf0d611c33222d8385ca3331629fcfd9 (diff)
DSVideoWidgetControl: Fix constructor order.
Change-Id: I804427867a0f400750ef1df423c89fb4948bb0a3 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
-rw-r--r--src/plugins/directshow/camera/dsvideowidgetcontrol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/directshow/camera/dsvideowidgetcontrol.cpp b/src/plugins/directshow/camera/dsvideowidgetcontrol.cpp
index 1f2996fab..d94b68eb4 100644
--- a/src/plugins/directshow/camera/dsvideowidgetcontrol.cpp
+++ b/src/plugins/directshow/camera/dsvideowidgetcontrol.cpp
@@ -112,7 +112,8 @@ void DSVideoWidgetSurface::paint(QPainter *painter)
DSVideoWidgetControl::DSVideoWidgetControl(DSCameraSession* session, QObject *parent) :
- m_session(session), QVideoWidgetControl(parent),
+ QVideoWidgetControl(parent),
+ m_session(session),
m_widget(new QLabel()),
m_fullScreen(false)
{