diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-11-03 12:31:08 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-11-03 12:35:32 +0000 |
commit | c8337d9779b87bc427842a9617179aca3b869d0a (patch) | |
tree | 218a5e353b96aa0a36b2453321f072617f1613e5 /src/controls/plugin.cpp | |
parent | 1adb58bb6d31234dc9e05ce95b60aa1be7c75373 (diff) | |
download | qtquickcontrols-c8337d9779b87bc427842a9617179aca3b869d0a.tar.gz |
Rename QQuickExclusiveGroup to QQuickExclusiveGroup1
This avoids clashes between Qt Quick Controls and Qt Labs Controls.
No other classes have this problem, as this is the only
class with the same name as that of one in Qt Labs Controls.
Change-Id: I6223e6b42654330abda7942dc5c7a2b3ad942b70
Task-number: QTBUG-48240
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls/plugin.cpp')
-rw-r--r-- | src/controls/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/plugin.cpp b/src/controls/plugin.cpp index e1afeef2..b4a4963d 100644 --- a/src/controls/plugin.cpp +++ b/src/controls/plugin.cpp @@ -122,7 +122,7 @@ void QtQuickControlsPlugin::registerTypes(const char *uri) { initResources(); qmlRegisterType<QQuickAction>(uri, 1, 0, "Action"); - qmlRegisterType<QQuickExclusiveGroup>(uri, 1, 0, "ExclusiveGroup"); + qmlRegisterType<QQuickExclusiveGroup1>(uri, 1, 0, "ExclusiveGroup"); qmlRegisterType<QQuickMenuItem>(uri, 1, 0, "MenuItem"); qmlRegisterUncreatableType<QQuickMenuItemType>(uri, 1, 0, "MenuItemType", QLatin1String("Do not create objects of type MenuItemType")); |