Use override

This commit is contained in:
Jonas Kvinge
2020-06-15 21:55:05 +02:00
parent 72ede666d4
commit 651020388d
271 changed files with 1199 additions and 1231 deletions

View File

@@ -64,7 +64,7 @@ class AlbumCoverManager : public QMainWindow {
Q_OBJECT
public:
explicit AlbumCoverManager(Application *app, CollectionBackend *collection_backend, QMainWindow *mainwindow, QWidget *parent = nullptr);
~AlbumCoverManager();
~AlbumCoverManager() override;
static const char *kSettingsGroup;
@@ -83,11 +83,11 @@ class AlbumCoverManager : public QMainWindow {
SongMimeData *GetMimeDataForAlbums(const QModelIndexList &indexes) const;
protected:
void showEvent(QShowEvent*);
void closeEvent(QCloseEvent*);
void showEvent(QShowEvent*) override;
void closeEvent(QCloseEvent*) override;
// For the album view context menu events
bool eventFilter(QObject *obj, QEvent *event);
bool eventFilter(QObject *obj, QEvent *event) override;
private:
enum ArtistItemType {