Qt: ExtensionListModel: don't specialize

This commit is contained in:
Francois Cartegnie 2014-01-17 23:11:08 +01:00
parent e1cdc9e591
commit 0eedfc01b2
2 changed files with 3 additions and 3 deletions

View File

@ -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 );

View File

@ -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