on xenial help sign in
Remove useless code from InputMethod.qml
4c6eeb3Daniel d'Andrada
qml/Components/InputMethod.qml−12
@@ -62,18 +62,6 @@ Item {
62 }
62 }
63 ]
63 ]
64
64
65− Connections {
66− target: surface
67− ignoreUnknownSignals: true // don't wanna spam the log when surface is null
68− onStateChanged: {
69− if (state == MirSurfaceItem.Minimized) {
70− root.hide();
71− } else if (state == MirSurfaceItem.Maximized) {
72− root.show();
73− }
74− }
75− }
76−
77 onSurfaceChanged: {
65 onSurfaceChanged: {
78 if (surface) {
66 if (surface) {
79 surface.parent = root;
67 surface.parent = root;