aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpixmapcache
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2021-02-23 09:46:23 +0100
committerAndreas Buhr <andreas@andreasbuhr.de>2021-02-23 16:50:07 +0100
commit7e029878c0f0ba43640d031aee9250fe4e713b41 (patch)
treef065d91e7ef8c7ec51a39027b453b187a47ad62c /tests/auto/quick/qquickpixmapcache
parent500b8b9f5dc773f8b7b6ef73637ec0fb7f3bece4 (diff)
Fix some "can be marked override" warnings
Change-Id: I13da0d085901314950c4fa0afb5853e183652e67 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickpixmapcache')
-rw-r--r--tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp b/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp
index 37fa286103..13a3378905 100644
--- a/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp
+++ b/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp
@@ -49,7 +49,7 @@ public:
tst_qquickpixmapcache() {}
private slots:
- void initTestCase();
+ void initTestCase() override;
void single();
void single_data();
void parallel();
@@ -340,7 +340,7 @@ public:
MyPixmapProvider()
: QQuickImageProvider(Pixmap) {}
- virtual QPixmap requestPixmap(const QString &d, QSize *, const QSize &) {
+ QPixmap requestPixmap(const QString &d, QSize *, const QSize &) override {
Q_UNUSED(d);
QPixmap pix(800, 600);
pix.fill(fillColor);