]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/external.cpp
Qt: don't attach the core dialogs to the Main Interface but to the Dialog Provider.
[vlc] / modules / gui / qt4 / dialogs / external.cpp
index af2818f4a5d7085be2ace30fad28b6e34fc585dc..2621076f8c4c9d72c35167f0373d35b6b8d2295f 100644 (file)
@@ -36,8 +36,8 @@
 #include <QProgressDialog>
 #include <QMutex>
 
-DialogHandler::DialogHandler (intf_thread_t *intf)
-    : intf (intf),
+DialogHandler::DialogHandler (intf_thread_t *intf, QObject *_parent)
+    : intf (intf), QObject( _parent ),
       message (VLC_OBJECT(intf), "dialog-fatal", VLC_VAR_ADDRESS),
       login (VLC_OBJECT(intf), "dialog-login", VLC_VAR_ADDRESS),
       question (VLC_OBJECT(intf), "dialog-question", VLC_VAR_ADDRESS),