Commit 0eedfc01 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: ExtensionListModel: don't specialize

parent e1cdc9e5
...@@ -336,8 +336,8 @@ QVariant ExtensionListModel::ExtensionCopy::data( int role ) const ...@@ -336,8 +336,8 @@ QVariant ExtensionListModel::ExtensionCopy::data( int role ) const
/* Extensions list model for the QListView */ /* Extensions list model for the QListView */
ExtensionListModel::ExtensionListModel( QListView *view, intf_thread_t *intf ) ExtensionListModel::ExtensionListModel( QObject *parent, intf_thread_t *intf )
: QAbstractListModel( view ), p_intf( intf ) : QAbstractListModel( parent ), p_intf( intf )
{ {
// Connect to ExtensionsManager::extensionsUpdated() // Connect to ExtensionsManager::extensionsUpdated()
ExtensionsManager* EM = ExtensionsManager::getInstance( p_intf ); ExtensionsManager* EM = ExtensionsManager::getInstance( p_intf );
......
...@@ -146,7 +146,7 @@ public: ...@@ -146,7 +146,7 @@ public:
QPixmap *icon; QPixmap *icon;
}; };
ExtensionListModel( QListView *view, intf_thread_t *p_intf ); ExtensionListModel( QObject *parent, intf_thread_t *p_intf );
virtual ~ExtensionListModel(); virtual ~ExtensionListModel();
enum enum
......
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