[vlc-devel] commit: Order initializers ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Dec 5 11:59:26 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec  5 12:44:59 2009 +0200| [469f358d487eec6f3d74ee40bbf178ab6e5acd54] | committer: Rémi Denis-Courmont 

Order initializers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=469f358d487eec6f3d74ee40bbf178ab6e5acd54
---

 modules/gui/qt4/dialogs/external.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/dialogs/external.cpp b/modules/gui/qt4/dialogs/external.cpp
index f14586a..8ad7940 100644
--- a/modules/gui/qt4/dialogs/external.cpp
+++ b/modules/gui/qt4/dialogs/external.cpp
@@ -37,7 +37,7 @@
 #include <QMutex>
 
 DialogHandler::DialogHandler (intf_thread_t *intf, QObject *_parent)
-    : intf (intf), QObject( _parent ),
+    : QObject( _parent ), intf (intf),
       critical (VLC_OBJECT(intf), "dialog-critical"),
       login (VLC_OBJECT(intf), "dialog-login"),
       question (VLC_OBJECT(intf), "dialog-question"),
@@ -181,8 +181,8 @@ QVLCProgressDialog::QVLCProgressDialog (DialogHandler *parent,
                                         struct dialog_progress_bar_t *data)
     : QProgressDialog (qfu(data->message),
                        data->cancel ? ("&" + qfu(data->cancel)) : 0, 0, 1000),
-      cancelled (false),
-      handler (parent)
+      handler (parent),
+      cancelled (false)
 {
     if (data->title != NULL)
         setWindowTitle (qfu(data->title));




More information about the vlc-devel mailing list