mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +02:00
qt/mlbookmarkmodel: Fix the 'setData' default role value
This commit is contained in:
parent
628595ec6f
commit
3da08ba544
@ -39,7 +39,7 @@ public:
|
|||||||
virtual ~MLBookmarkModel();
|
virtual ~MLBookmarkModel();
|
||||||
|
|
||||||
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole ) const override;
|
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole ) const override;
|
||||||
bool setData( const QModelIndex& index, const QVariant& value, int role ) override;
|
bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ) override;
|
||||||
Qt::ItemFlags flags( const QModelIndex & ) const override;
|
Qt::ItemFlags flags( const QModelIndex & ) const override;
|
||||||
int rowCount( const QModelIndex& index = {} ) const override;
|
int rowCount( const QModelIndex& index = {} ) const override;
|
||||||
int columnCount( const QModelIndex& index = {} ) const override;
|
int columnCount( const QModelIndex& index = {} ) const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user