summaryrefslogtreecommitdiff
path: root/src/libs/utils/treeviewcombobox.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-05-07 15:07:21 +0200
committerOrgad Shaneh <orgads@gmail.com>2018-05-13 19:42:50 +0000
commit07e67b21880525265b8e85efb1df257a166171ea (patch)
tree98d6c1a7da3088b4c78464c012be325cad0ce980 /src/libs/utils/treeviewcombobox.h
parent86b368f91270fc74ff7152bf51d71961c21bbef4 (diff)
downloadqt-creator-07e67b21880525265b8e85efb1df257a166171ea.tar.gz
Utils: Use override consistently
clang-tidy fixes from modernize-use-override check. Change-Id: I89d27f359b6ee507153cb3712f61f81471ff0858 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/libs/utils/treeviewcombobox.h')
-rw-r--r--src/libs/utils/treeviewcombobox.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/utils/treeviewcombobox.h b/src/libs/utils/treeviewcombobox.h
index e32d64d4ae..9377c1ff0c 100644
--- a/src/libs/utils/treeviewcombobox.h
+++ b/src/libs/utils/treeviewcombobox.h
@@ -46,12 +46,12 @@ class QTCREATOR_UTILS_EXPORT TreeViewComboBox : public QComboBox
public:
TreeViewComboBox(QWidget *parent = 0);
- void wheelEvent(QWheelEvent *e);
- void keyPressEvent(QKeyEvent *e);
+ void wheelEvent(QWheelEvent *e) override;
+ void keyPressEvent(QKeyEvent *e) override;
void setCurrentIndex(const QModelIndex &index);
- bool eventFilter(QObject* object, QEvent* event);
- void showPopup();
- void hidePopup();
+ bool eventFilter(QObject* object, QEvent* event) override;
+ void showPopup() override;
+ void hidePopup() override;
TreeViewComboBoxView *view() const;