From d432d8ecfccab52a38a3c619bbad0078f50b7952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 21 May 2017 22:14:40 +0200 Subject: [PATCH] NOISSUE get rid of some more compiler warnings --- api/logic/BaseVersionList.h | 2 +- api/logic/minecraft/ftb/LegacyFTBInstance.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/logic/BaseVersionList.h b/api/logic/BaseVersionList.h index 655bbd43..fa1e0861 100644 --- a/api/logic/BaseVersionList.h +++ b/api/logic/BaseVersionList.h @@ -80,7 +80,7 @@ public: QVariant data(const QModelIndex &index, int role) const override; int rowCount(const QModelIndex &parent) const override; int columnCount(const QModelIndex &parent) const override; - virtual QHash roleNames() const; + QHash roleNames() const override; //! which roles are provided by this version list? virtual RoleList providesRoles() const; diff --git a/api/logic/minecraft/ftb/LegacyFTBInstance.h b/api/logic/minecraft/ftb/LegacyFTBInstance.h index 7178bca4..8a97002a 100644 --- a/api/logic/minecraft/ftb/LegacyFTBInstance.h +++ b/api/logic/minecraft/ftb/LegacyFTBInstance.h @@ -7,9 +7,9 @@ class LegacyFTBInstance : public LegacyInstance Q_OBJECT public: explicit LegacyFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir); - virtual QString id() const; - virtual void copy(const QDir &newDir); - virtual QString typeName() const; + QString id() const override; + void copy(const QDir &newDir) override; + QString typeName() const override; bool canExport() const override { return false;