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
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public:
virtual ~MLBookmarkModel();
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;
int rowCount( const QModelIndex& index = {} ) const override;
int columnCount( const QModelIndex& index = {} ) const override;