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;
int rowCount(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?
virtual RoleList providesRoles() const;

View File

@ -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;