DSVideoWidgetControl: Fix constructor order.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Thu, 14 Feb 2013 11:06:19 +0000 (12:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 14 Feb 2013 12:25:01 +0000 (13:25 +0100)
Change-Id: I804427867a0f400750ef1df423c89fb4948bb0a3
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/directshow/camera/dsvideowidgetcontrol.cpp

index 1f2996f..d94b68e 100644 (file)
@@ -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)
 {