summaryrefslogtreecommitdiffstats
path: root/src/imports/compositor/qwaylandquickcompositorplugin.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-27 12:29:52 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-28 13:10:33 +0200
commitc45c1e13c95426116b2b9cc945939bb0b9598079 (patch)
treeac0b71232e0899b757affa82c19f0086e2ef5098 /src/imports/compositor/qwaylandquickcompositorplugin.cpp
parentc9500b6eff3dc8fbcc6e9fc569b2e246541a2a05 (diff)
Make it possible to create the shell surface from qml
Diffstat (limited to 'src/imports/compositor/qwaylandquickcompositorplugin.cpp')
-rw-r--r--src/imports/compositor/qwaylandquickcompositorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/compositor/qwaylandquickcompositorplugin.cpp b/src/imports/compositor/qwaylandquickcompositorplugin.cpp
index 2b78ccd25..e56fc6fba 100644
--- a/src/imports/compositor/qwaylandquickcompositorplugin.cpp
+++ b/src/imports/compositor/qwaylandquickcompositorplugin.cpp
@@ -133,7 +133,7 @@ public:
//This should probably be somewhere else
qmlRegisterType<QWaylandShellQuickData>(uri, 1, 0, "DefaultShell");
- qmlRegisterUncreatableType<QWaylandShellSurface>(uri, 1, 0, "DefaultShellSurface", QObject::tr("Cannot create instance of DefaultShellSurface"));
+ qmlRegisterType<QWaylandShellSurface>(uri, 1, 0, "DefaultShellSurface");
}
};
//![class decl]