Commit b63e3d64 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Initialization order

parent 370089ee
...@@ -60,7 +60,7 @@ int QVLCVariable::callback (vlc_object_t *object, const char *, ...@@ -60,7 +60,7 @@ int QVLCVariable::callback (vlc_object_t *object, const char *,
DialogHandler::DialogHandler (intf_thread_t *intf, QObject *_parent) 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), critical (VLC_OBJECT(intf), "dialog-critical", VLC_VAR_ADDRESS),
login (VLC_OBJECT(intf), "dialog-login", VLC_VAR_ADDRESS), login (VLC_OBJECT(intf), "dialog-login", VLC_VAR_ADDRESS),
question (VLC_OBJECT(intf), "dialog-question", VLC_VAR_ADDRESS), question (VLC_OBJECT(intf), "dialog-question", VLC_VAR_ADDRESS),
...@@ -203,8 +203,8 @@ QVLCProgressDialog::QVLCProgressDialog (DialogHandler *parent, ...@@ -203,8 +203,8 @@ QVLCProgressDialog::QVLCProgressDialog (DialogHandler *parent,
struct dialog_progress_bar_t *data) struct dialog_progress_bar_t *data)
: QProgressDialog (qfu(data->message), : QProgressDialog (qfu(data->message),
data->cancel ? ("&" + qfu(data->cancel)) : 0, 0, 1000), data->cancel ? ("&" + qfu(data->cancel)) : 0, 0, 1000),
cancelled (false), handler (parent),
handler (parent) cancelled (false)
{ {
if (data->title != NULL) if (data->title != NULL)
setWindowTitle (qfu(data->title)); setWindowTitle (qfu(data->title));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment