on xenial help sign in
update to more declarative qtmir api
commit8f4dbe07b66f0b4aac86e70a09e13a52b0a83d0d authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 15 Feb 2016, 18:26 (11 years ago) parent90bbff2
1 file changed+1−9
qml/Components/InputMethod.qml+1−9
qml/Components/InputMethod.qml+1−9
@@ -22,15 +22,6 @@ import Ubuntu.Gestures 0.1
2222Item {
2323 id: root
2424
25− Connections {
26− target: SurfaceManager
27− onSurfaceCreated: {
28− if (surface.type == Mir.InputMethodType) {
29− surfaceItem.surface = surface;
30− }
31− }
32− }
33−
3425 property int transitionDuration: UbuntuAnimation.FastDuration
3526
3627 MirSurfaceItem {
@@ -41,6 +32,7 @@ Item {
4132
4233 surfaceWidth: width
4334 surfaceHeight: height
35+ surface: SurfaceManager.inputMethodSurface
4436
4537 onLiveChanged: {
4638 if (surface !== null && !live) {