[vlmc-devel] MediaLibraryModel: Add missing virtual qualifiers
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jul 12 00:26:43 CEST 2016
vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jul 11 22:01:16 2016 +0200| [90b467fe460cf3fa229eb8647347dd204e1887ac] | committer: Hugo Beauzée-Luyssen
MediaLibraryModel: Add missing virtual qualifiers
> https://code.videolan.org/videolan/vlmc/commit/90b467fe460cf3fa229eb8647347dd204e1887ac
---
src/Library/MediaLibraryModel.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/Library/MediaLibraryModel.h b/src/Library/MediaLibraryModel.h
index 479de85..6910e60 100644
--- a/src/Library/MediaLibraryModel.h
+++ b/src/Library/MediaLibraryModel.h
@@ -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;
More information about the Vlmc-devel
mailing list