NOISSUE get rid of some more compiler warnings

This commit is contained in:
Petr Mrázek 2017-05-21 22:14:40 +02:00
parent 8bd8be95f0
commit d432d8ecfc
2 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ public:
QVariant data(const QModelIndex &index, int role) const override; QVariant data(const QModelIndex &index, int role) const override;
int rowCount(const QModelIndex &parent) const override; int rowCount(const QModelIndex &parent) const override;
int columnCount(const QModelIndex &parent) const override; int columnCount(const QModelIndex &parent) const override;
virtual QHash<int, QByteArray> roleNames() const; QHash<int, QByteArray> roleNames() const override;
//! which roles are provided by this version list? //! which roles are provided by this version list?
virtual RoleList providesRoles() const; virtual RoleList providesRoles() const;

View File

@ -7,9 +7,9 @@ class LegacyFTBInstance : public LegacyInstance
Q_OBJECT Q_OBJECT
public: public:
explicit LegacyFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir); explicit LegacyFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir);
virtual QString id() const; QString id() const override;
virtual void copy(const QDir &newDir); void copy(const QDir &newDir) override;
virtual QString typeName() const; QString typeName() const override;
bool canExport() const override bool canExport() const override
{ {
return false; return false;