forked from qt-creator/qt-creator
Utils: Use override consistently
clang-tidy fixes from modernize-use-override check. Change-Id: I89d27f359b6ee507153cb3712f61f81471ff0858 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
86b368f912
commit
07e67b2188
@@ -43,7 +43,7 @@ public:
|
||||
bool isLightColored() const;
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
};
|
||||
|
||||
class QTCREATOR_UTILS_EXPORT StyledSeparator : public QWidget
|
||||
@@ -52,7 +52,7 @@ class QTCREATOR_UTILS_EXPORT StyledSeparator : public QWidget
|
||||
public:
|
||||
StyledSeparator(QWidget *parent = 0);
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
};
|
||||
|
||||
} // Utils
|
||||
|
||||
Reference in New Issue
Block a user