diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-07-07 16:14:42 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-07-08 07:37:36 +0000 |
commit | cbfa64fd84cab95d909371a5e44146928e403c05 (patch) | |
tree | 4e0b5481f236220e66dec431e1ecb4c4c9798cad /src/imports/controls/qtquickcontrols2plugin.cpp | |
parent | 7af626e08cc21463a86d0d0614d4aeb9c036643d (diff) |
qtquickcontrols2plugin.cpp: remove useless double registration
This does not even seem to affect the availability of new properties.
It is enough that the types internally import QtQuick.Templates 2.1,
which was done in the previous commit.
Change-Id: I4b1bce7dc503cc257e3d6483bac4c05b8421995f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/qtquickcontrols2plugin.cpp')
-rw-r--r-- | src/imports/controls/qtquickcontrols2plugin.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/imports/controls/qtquickcontrols2plugin.cpp b/src/imports/controls/qtquickcontrols2plugin.cpp index 2df2957e..f83655da 100644 --- a/src/imports/controls/qtquickcontrols2plugin.cpp +++ b/src/imports/controls/qtquickcontrols2plugin.cpp @@ -140,14 +140,6 @@ void QtQuickControls2Plugin::registerTypes(const char *uri) qmlRegisterType<QQuickButtonGroup,1 >(uri, 2, 1, "ButtonGroup"); qmlRegisterType<QQuickContainer,1>(uri, 2, 1, "Container"); qmlRegisterType(selector.select(QStringLiteral("DialogButtonBox.qml")), uri, 2, 1, "DialogButtonBox"); - qmlRegisterType(selector.select(QStringLiteral("RangeSlider.qml")), uri, 2, 1, "RangeSlider"); - qmlRegisterType(selector.select(QStringLiteral("Slider.qml")), uri, 2, 1, "Slider"); - qmlRegisterType(selector.select(QStringLiteral("SpinBox.qml")), uri, 2, 1, "SpinBox"); - qmlRegisterType(selector.select(QStringLiteral("StackView.qml")), uri, 2, 1, "StackView"); - qmlRegisterType(selector.select(QStringLiteral("SwipeView.qml")), uri, 2, 1, "SwipeView"); - qmlRegisterType(selector.select(QStringLiteral("TextArea.qml")), uri, 2, 1, "TextArea"); - qmlRegisterType(selector.select(QStringLiteral("TextField.qml")), uri, 2, 1, "TextField"); - qmlRegisterType(selector.select(QStringLiteral("Tumbler.qml")), uri, 2, 1, "Tumbler"); } void QtQuickControls2Plugin::initializeEngine(QQmlEngine *engine, const char *uri) |