1
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:
Benjamin Arnaud 2022-03-08 15:35:35 +01:00 committed by Hugo Beauzée-Luyssen
parent 628595ec6f
commit 3da08ba544

View File

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