diff src/include/anime.h @ 4:5af270662505

Set override functions as override
author Paper <mrpapersonic@gmail.com>
date Sat, 12 Aug 2023 12:08:16 -0400
parents 23d0d9319a00
children 1d82f6e04d7d
line wrap: on
line diff
--- a/src/include/anime.h	Sat Aug 12 11:57:25 2023 -0400
+++ b/src/include/anime.h	Sat Aug 12 12:08:16 2023 -0400
@@ -124,10 +124,10 @@
 		AnimeListWidgetModel(QWidget* parent, AnimeList* alist);
 		~AnimeListWidgetModel() override = default;
 		//QVariant headerData(const int section, const Qt::Orientation orientation, const int role) const;
-		int rowCount(const QModelIndex& parent = QModelIndex()) const;
-		int columnCount(const QModelIndex& parent = QModelIndex()) const;
-		QVariant data(const QModelIndex& index, int role) const;
-		QVariant headerData(const int section, const Qt::Orientation orientation, const int role) const;
+		int rowCount(const QModelIndex& parent = QModelIndex()) const override;
+		int columnCount(const QModelIndex& parent = QModelIndex()) const override;
+		QVariant data(const QModelIndex& index, int role) const override;
+		QVariant headerData(const int section, const Qt::Orientation orientation, const int role) const override;
 		Anime* GetAnimeFromIndex(const QModelIndex& index);
 		void UpdateAnime(Anime& anime);