Commit 5ba43d31 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibraryModel: Add missing virtual qualifiers

parent 95af8d3a
......@@ -49,11 +49,12 @@ public:
void addMedia( medialibrary::MediaPtr media );
void updateMedia( medialibrary::MediaPtr media );
bool removeMedia( int64_t media );
int rowCount( const QModelIndex &parent = QModelIndex() ) const override;
QVariant data( const QModelIndex &index, int role = Qt::DisplayRole ) const override;
QHash<int, QByteArray> roleNames() const;
void refresh();
virtual int rowCount( const QModelIndex &parent = QModelIndex() ) const override;
virtual QVariant data( const QModelIndex &index, int role = Qt::DisplayRole ) const override;
virtual QHash<int, QByteArray> roleNames() const override;
private:
medialibrary::IMediaLibrary& m_ml;
const medialibrary::IMedia::Type m_mediaType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment