[vlc-devel] commit: Initialization order ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Aug 13 22:38:53 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 13 23:04:35 2009 +0300| [b63e3d64e18f0dab7262bed98053991beebcf74a] | committer: Rémi Denis-Courmont
Initialization order
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b63e3d64e18f0dab7262bed98053991beebcf74a
---
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 2783f5e..5bdcded 100644
--- a/modules/gui/qt4/dialogs/external.cpp
+++ b/modules/gui/qt4/dialogs/external.cpp
@@ -60,7 +60,7 @@ int QVLCVariable::callback (vlc_object_t *object, const char *,
DialogHandler::DialogHandler (intf_thread_t *intf, QObject *_parent)
- : intf (intf), QObject( _parent ),
+ : QObject( _parent ), intf (intf),
critical (VLC_OBJECT(intf), "dialog-critical", VLC_VAR_ADDRESS),
login (VLC_OBJECT(intf), "dialog-login", VLC_VAR_ADDRESS),
question (VLC_OBJECT(intf), "dialog-question", VLC_VAR_ADDRESS),
@@ -203,8 +203,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