Commit cf513b98 authored by Andrius Štikonas's avatar Andrius Štikonas

Use explicit class method overrides.

parent 730b2a99
......@@ -70,8 +70,8 @@ protected:
void enableActions();
void closeEvent(QCloseEvent*);
void changeEvent(QEvent* event);
void closeEvent(QCloseEvent*) override;
void changeEvent(QEvent* event) override;
void setSavedSelectedDeviceNode(const QString& s) {
m_SavedSelectedDeviceNode = s;
......
......@@ -34,7 +34,7 @@ class SmartAttrDelegate : public QStyledItemDelegate
public:
SmartAttrDelegate() : QStyledItemDelegate() {}
virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
};
void SmartAttrDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const
......
Markdown is supported
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