Remove useless code from InputMethod.qml
commit4c6eeb36bcecb0e96dec20a2ade88657b28563fb
authorDaniel d'Andrada <daniel.dandrada@canonical.com>
dateWed 23 Jul 2014, 15:25 (12 years ago)
parentdda685b
qml/Components/InputMethod.qml−12
@@ -62,18 +62,6 @@ Item {
6262 }
6363 ]
6464
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−
7765 onSurfaceChanged: {
7866 if (surface) {
7967 surface.parent = root;