summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/wizards
diff options
context:
space:
mode:
authorMiklós Márton <martonmiklosqdev@gmail.com>2018-11-12 21:26:42 +0100
committerMiklós Márton <martonmiklosqdev@gmail.com>2018-11-13 19:09:38 +0000
commit9cfa812185e6d932da3be90eb5aea5ad9143d905 (patch)
treed50dbec86862da3b7fb539dd7c2cf64415d21492 /share/qtcreator/templates/wizards
parent39400381b399a3064fd2ab19fe752e2be7451681 (diff)
downloadqt-creator-9cfa812185e6d932da3be90eb5aea5ad9143d905.tar.gz
Add override to the generated QML plugins registerTypes method
C++11 is used in the generated plugins (the default argument of the generated class constructor's is a nullptr), so I think it would be useful to utilize this feature as well. Change-Id: Ib531f4d40941d87de0714d9b42940939c6934678 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'share/qtcreator/templates/wizards')
-rw-r--r--share/qtcreator/templates/wizards/qtquick2-extension/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/templates/wizards/qtquick2-extension/plugin.h b/share/qtcreator/templates/wizards/qtquick2-extension/plugin.h
index 8457357286..bcafa25818 100644
--- a/share/qtcreator/templates/wizards/qtquick2-extension/plugin.h
+++ b/share/qtcreator/templates/wizards/qtquick2-extension/plugin.h
@@ -8,5 +8,5 @@ class %ProjectName:s%Plugin : public QQmlExtensionPlugin
Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
- void registerTypes(const char *uri);
+ void registerTypes(const char *uri) override;
};