Commit dd29fbae authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override keyword

parent 57bfa9b3
......@@ -24,7 +24,7 @@ public:
* Constructor
*/
ElementSaxParser();
~ElementSaxParser();
~ElementSaxParser() override;
bool startElement(const QString &, const QString &localName, const QString &, const QXmlAttributes &attrs) override;
bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName) override;
......
......@@ -28,7 +28,7 @@ public:
* Constructor
*/
SpectrumParser();
~SpectrumParser();
~SpectrumParser() override;
bool startElement(const QString &, const QString &localName, const QString &, const QXmlAttributes &attrs) override;
bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName) override;
......
......@@ -131,7 +131,7 @@ public Q_SLOTS:
private:
KalziumElementProperty();
~KalziumElementProperty();
~KalziumElementProperty() override;
bool isGradient();
......
......@@ -69,7 +69,7 @@ class LegendItem : public QLabel
public:
LegendItem(const QPair<QString, QColor> &pair, LegendWidget *parent = nullptr);
~LegendItem() = default;
~LegendItem() override = default;
Q_SIGNALS:
void legenItemHoovered(QColor color);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment