[vlc-commits] Use a QVLCFrame as VLMDialog base class

Ludovic Fauvet git at videolan.org
Fri Feb 14 18:27:26 CET 2014


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Feb 14 18:20:02 2014 +0100| [7ce25847a85bf33b9c201166330ccd49fb41f23c] | committer: Jean-Baptiste Kempf

Use a QVLCFrame as VLMDialog base class

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/dialogs/vlm.cpp |    4 ++--
 modules/gui/qt4/dialogs/vlm.hpp |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 2bebcac..0da88cc 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -54,7 +54,7 @@
 #include <QFileDialog>
 
 
-VLMDialog::VLMDialog( intf_thread_t *_p_intf ) : QVLCDialog( (QWidget*)_p_intf->p_sys->p_mi, _p_intf )
+VLMDialog::VLMDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 {
     p_vlm = vlm_New( p_intf );
 
@@ -901,7 +901,7 @@ void VLMDialog::toggleVisible()
 
     ui.vlmListItem->clear();
     mediasPopulator();
-    QVLCDialog::toggleVisible();
+    QVLCFrame::toggleVisible();
 }
 
 
diff --git a/modules/gui/qt4/dialogs/vlm.hpp b/modules/gui/qt4/dialogs/vlm.hpp
index 6feee58..a3c6e5d 100644
--- a/modules/gui/qt4/dialogs/vlm.hpp
+++ b/modules/gui/qt4/dialogs/vlm.hpp
@@ -68,7 +68,7 @@ class VLMAWidget;
 class VLMWrapper;
 
 
-class VLMDialog : public QVLCDialog, public Singleton<VLMDialog>
+class VLMDialog : public QVLCFrame, public Singleton<VLMDialog>
 {
     Q_OBJECT
 



More information about the vlc-commits mailing list