From 30395e9185be36a8eff5ae59e41636a4c1738ae1 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Tue, 28 Jul 2020 08:44:17 +0200 Subject: [PATCH] tslib: Add missing override annotation Else developers fail to compile due to the newly added -Wsuggest-override Change-Id: I1fdcab794a8639a7cf2f6712e9ede6f25f7d3f69 Reviewed-by: Volker Hilsheimer --- src/plugins/generic/tslib/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/generic/tslib/main.cpp b/src/plugins/generic/tslib/main.cpp index fb9e0c35f3..5cd4b61a9d 100644 --- a/src/plugins/generic/tslib/main.cpp +++ b/src/plugins/generic/tslib/main.cpp @@ -48,7 +48,7 @@ class QTsLibPlugin : public QGenericPlugin Q_PLUGIN_METADATA(IID QGenericPluginFactoryInterface_iid FILE "tslib.json") public: - QObject* create(const QString &key, const QString &specification); + QObject* create(const QString &key, const QString &specification) override; }; QObject* QTsLibPlugin::create(const QString &key,