mirror of
https://github.com/videolan/vlc.git
synced 2025-01-05 23:38:09 +08:00
Qt: ExtensionListModel: don't specialize
This commit is contained in:
parent
e1cdc9e591
commit
0eedfc01b2
@ -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:
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user