Use explicit class method overrides.
This commit is contained in:
parent
730b2a9992
commit
cf513b9873
|
@ -70,8 +70,8 @@ protected:
|
||||||
|
|
||||||
void enableActions();
|
void enableActions();
|
||||||
|
|
||||||
void closeEvent(QCloseEvent*);
|
void closeEvent(QCloseEvent*) override;
|
||||||
void changeEvent(QEvent* event);
|
void changeEvent(QEvent* event) override;
|
||||||
|
|
||||||
void setSavedSelectedDeviceNode(const QString& s) {
|
void setSavedSelectedDeviceNode(const QString& s) {
|
||||||
m_SavedSelectedDeviceNode = s;
|
m_SavedSelectedDeviceNode = s;
|
||||||
|
|
|
@ -34,7 +34,7 @@ class SmartAttrDelegate : public QStyledItemDelegate
|
||||||
public:
|
public:
|
||||||
SmartAttrDelegate() : QStyledItemDelegate() {}
|
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
|
void SmartAttrDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const
|
||||||
|
|
Loading…
Reference in New Issue