diff --git a/src/gui/properties/downloadedpiecesbar.h b/src/gui/properties/downloadedpiecesbar.h index 29c33a2f8..d98a114b2 100644 --- a/src/gui/properties/downloadedpiecesbar.h +++ b/src/gui/properties/downloadedpiecesbar.h @@ -52,7 +52,7 @@ public: private: // scale bitfield vector to float vector QVector bitfieldToFloatVector(const QBitArray &vecin, int reqSize); - virtual bool updateImage(QImage &image) override; + bool updateImage(QImage &image) override; QString simpleToolTipText() const override; // incomplete piece color diff --git a/src/gui/properties/piecesbar.h b/src/gui/properties/piecesbar.h index 1ee7299d4..1e87ba364 100644 --- a/src/gui/properties/piecesbar.h +++ b/src/gui/properties/piecesbar.h @@ -55,7 +55,7 @@ public: virtual void clear(); // QObject interface - virtual bool event(QEvent *e) override; + bool event(QEvent *e) override; protected: // QWidget interface