[vlc-commits] Qt: ExtensionListModel: don't specialize

Francois Cartegnie git at videolan.org
Fri Jan 17 23:12:33 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 17 23:11:08 2014 +0100| [0eedfc01b24a0e313ed96a6f33233ce90f71967b] | committer: Francois Cartegnie

Qt: ExtensionListModel: don't specialize

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

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

diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index 48b8628f1..ce79016 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -336,8 +336,8 @@ QVariant ExtensionListModel::ExtensionCopy::data( int role ) const
 
 /* Extensions list model for the QListView */
 
-ExtensionListModel::ExtensionListModel( QListView *view, intf_thread_t *intf )
-        : QAbstractListModel( view ), p_intf( intf )
+ExtensionListModel::ExtensionListModel( QObject *parent, intf_thread_t *intf )
+        : QAbstractListModel( parent ), p_intf( intf )
 {
     // Connect to ExtensionsManager::extensionsUpdated()
     ExtensionsManager* EM = ExtensionsManager::getInstance( p_intf );
diff --git a/modules/gui/qt4/dialogs/plugins.hpp b/modules/gui/qt4/dialogs/plugins.hpp
index 23a3668..cb118b1 100644
--- a/modules/gui/qt4/dialogs/plugins.hpp
+++ b/modules/gui/qt4/dialogs/plugins.hpp
@@ -146,7 +146,7 @@ public:
         QPixmap *icon;
     };
 
-    ExtensionListModel( QListView *view, intf_thread_t *p_intf );
+    ExtensionListModel( QObject *parent, intf_thread_t *p_intf );
     virtual ~ExtensionListModel();
 
     enum



More information about the vlc-commits mailing list