]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/vlm.hpp
Qt4 - Put the dialog you are not likely to use during playback as QDialogs, meaning...
[vlc] / modules / gui / qt4 / dialogs / vlm.hpp
index 73e3defc00dd35642671e163a4fce0a03b624ce2..9594e5c3932500146643a2f78901c0a145abab3a 100644 (file)
@@ -63,22 +63,22 @@ class VLMAWidget;
 class VLMWrapper;
 
 
-class VLMDialog : public QVLCFrame
+class VLMDialog : public QVLCDialog
 {
     Q_OBJECT;
 public:
     static VLMDialog * getInstance( intf_thread_t *p_intf )
     {
         if( !instance)
-             instance = new VLMDialog( p_intf );
+             instance = new VLMDialog( (QWidget *)p_intf->p_sys->p_mi, p_intf );
         return instance;
     };
     virtual ~VLMDialog();
 
     VLMWrapper *vlmWrapper;
-vlm_t *p_vlm;
+    vlm_t *p_vlm;
 private:
-    VLMDialog( intf_thread_t * );
+    VLMDialog( QWidget *, intf_thread_t * );
     static VLMDialog *instance;
     Ui::Vlm ui;