From 2c698a6d07c1e8fb1cca417892c017f9591852c3 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 11 Sep 2020 13:05:27 +0200 Subject: Fix compiler warnings about missing overrides Change-Id: I52bf9fe45607f4a99cafa441bd78dfe5f7adb0e1 Reviewed-by: Thiago Macieira --- tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/widgets/widgets/qopenglwidget') diff --git a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp index 0b6d161890..a18fd0299a 100644 --- a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp +++ b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp @@ -705,7 +705,7 @@ public: { } - void paintEvent(QPaintEvent *) + void paintEvent(QPaintEvent *) override { QPainter p(this); text.setText(QStringLiteral("test")); -- cgit v1.2.3