diff options
Diffstat (limited to 'tests/auto/widgets/widgets/qscrollarea/tst_qscrollarea.cpp')
-rw-r--r-- | tests/auto/widgets/widgets/qscrollarea/tst_qscrollarea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/widgets/qscrollarea/tst_qscrollarea.cpp b/tests/auto/widgets/widgets/qscrollarea/tst_qscrollarea.cpp index 9f08bd337b..c14b3aa9d8 100644 --- a/tests/auto/widgets/widgets/qscrollarea/tst_qscrollarea.cpp +++ b/tests/auto/widgets/widgets/qscrollarea/tst_qscrollarea.cpp @@ -85,7 +85,7 @@ public: setBackgroundRole(QPalette::Dark); } protected: - QVariant inputMethodQuery(Qt::InputMethodQuery query) const + QVariant inputMethodQuery(Qt::InputMethodQuery query) const override { if (query == Qt::ImCursorRectangle) return QRect(width() / 2, height() / 2, 5, 5); @@ -120,7 +120,7 @@ class HFWWidget : public QWidget { public: HFWWidget(); - int heightForWidth(int w) const; + int heightForWidth(int w) const override; }; HFWWidget::HFWWidget() |