From 9676090756ebe79f31364cbbdba8eeb7508459c0 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 30 Mar 2017 11:18:57 +0200 Subject: Fix alphabetical order (by type name) in registerTypes() Change-Id: I94292b7362b9ff342ac31a2583b93d342ab13a71 Reviewed-by: Mitch Curtis --- src/imports/templates/qtquicktemplates2plugin.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/imports/templates') diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index a43d5baf..f7210c17 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -179,21 +179,21 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType(); qmlRegisterType(uri, 2, 0, "StackView"); qmlRegisterType(); - qmlRegisterType(uri, 2, 0, "SwipeDelegate"); qmlRegisterType(); - qmlRegisterType(); + qmlRegisterType(uri, 2, 0, "SwipeDelegate"); qmlRegisterType(uri, 2, 0, "SwipeView"); + qmlRegisterType(); qmlRegisterType(uri, 2, 0, "Switch"); qmlRegisterType(uri, 2, 0, "SwitchDelegate"); qmlRegisterType(uri, 2, 0, "TabBar"); qmlRegisterType(uri, 2, 0, "TabButton"); - qmlRegisterType(); qmlRegisterType(uri, 2, 0, "TextArea"); + qmlRegisterType(); qmlRegisterType(uri, 2, 0, "TextField"); qmlRegisterType(uri, 2, 0, "ToolBar"); qmlRegisterType(uri, 2, 0, "ToolButton"); - qmlRegisterType(); qmlRegisterType(uri, 2, 0, "ToolTip"); + qmlRegisterType(); #if QT_CONFIG(quick_listview) && QT_CONFIG(quick_pathview) qmlRegisterType(); qmlRegisterType(uri, 2, 0, "Tumbler"); @@ -202,10 +202,10 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) // NOTE: register the latest revisions of all template/control base classes to // make revisioned properties available to their subclasses (synced with Qt 5.7) qmlRegisterRevision(uri, 2, 0); - qmlRegisterRevision(uri, 2, 0); qmlRegisterRevision(uri, 2, 0); qmlRegisterRevision(uri, 2, 0); qmlRegisterRevision(uri, 2, 0); + qmlRegisterRevision(uri, 2, 0); // QtQuick.Templates 2.1 (new types and revisions in Qt 5.8) qmlRegisterType(uri, 2, 1, "ButtonGroup"); @@ -254,8 +254,8 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterRevision(uri, 2, 2); // QtQuick.Templates 2.3 (new types and revisions in Qt 5.10) - qmlRegisterType(); qmlRegisterType(uri, 2, 3, "AbstractButton"); + qmlRegisterType(); qmlRegisterType(uri, 2, 3, "RangeSlider"); qmlRegisterType(uri, 2, 3, "ScrollBar"); qmlRegisterType(uri, 2, 3, "ScrollIndicator"); -- cgit v1.2.3