summaryrefslogtreecommitdiff
path: root/src/qstyleplugin.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-11-02 13:28:37 +0100
committerSamuel Rødal <samuel.rodal@nokia.com>2011-11-02 13:28:37 +0100
commitaaeba3ea18bf33e50de756413a7d606ae2dac63e (patch)
tree0e45fa047ab9c1cc9fd8f41264ae75d5bd2db43d /src/qstyleplugin.cpp
parent7855aaff6271c7544b68e31d744443bfdeb92e96 (diff)
downloadqtquickcontrols-aaeba3ea18bf33e50de756413a7d606ae2dac63e.tar.gz
Slightly less borken.
Diffstat (limited to 'src/qstyleplugin.cpp')
-rw-r--r--src/qstyleplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qstyleplugin.cpp b/src/qstyleplugin.cpp
index 42aa12dd..c23ed701 100644
--- a/src/qstyleplugin.cpp
+++ b/src/qstyleplugin.cpp
@@ -100,7 +100,7 @@ void StylePlugin::registerTypes(const char *uri)
qmlRegisterType<QWindowItem>("QtQuick", 0, 1, "Window");
qmlRegisterUncreatableType<QtMenuBase>("uri", 0, 1, "NativeMenuBase", QLatin1String("Do not create objects of type NativeMenuBase"));
- qmlRegisterUncreatableType<QDesktopItem>("QtQuick",1,1,"Desktop", QLatin1String("Do not create objects of type Desktop"));
+ qmlRegisterUncreatableType<QDesktopItem>("QtQuick",2,0,"Desktop", QLatin1String("Do not create objects of type Desktop"));
}
void StylePlugin::initializeEngine(QDeclarativeEngine *engine, const char *uri)