diff --git a/src/widgets/fancytabbar.h b/src/widgets/fancytabbar.h index 1e40017bd..93b549191 100644 --- a/src/widgets/fancytabbar.h +++ b/src/widgets/fancytabbar.h @@ -40,7 +40,7 @@ class FancyTabBar : public QTabBar { int width() const; protected: - QSize tabSizeHint(const int index) const; + QSize tabSizeHint(const int index) const override; void leaveEvent(QEvent *event) override; void mouseMoveEvent(QMouseEvent *event) override; void paintEvent(QPaintEvent *pe) override;