on xenial help sign in
remove unused var
22fbe10Lukáš Tinkl
qml/OrientedShell.qml−1
@@ -254,7 +254,6 @@ Item {
254 nativeHeight: root.height
254 nativeHeight: root.height
255 mode: applicationArguments.mode
255 mode: applicationArguments.mode
256 hasMouse: miceModel.count + touchPadModel.count > 0
256 hasMouse: miceModel.count + touchPadModel.count > 0
257− hasKeyboard: keyboardsModel.count > 0
258 // TODO: Factor in if the current screen is a touch screen and if the user wants to
257 // TODO: Factor in if the current screen is a touch screen and if the user wants to
259 // have multiple keyboards around. For now we only enable one keyboard at a time
258 // have multiple keyboards around. For now we only enable one keyboard at a time
260 // thus hiding it here if there is a physical one around or if we have a second
259 // thus hiding it here if there is a physical one around or if we have a second
qml/Shell.qml−1
@@ -68,7 +68,6 @@ StyledItem {
68 applicationsDisplayLoader.item.updateFocusedAppOrientationAnimated();
68 applicationsDisplayLoader.item.updateFocusedAppOrientationAnimated();
69 }
69 }
70 property bool hasMouse: false
70 property bool hasMouse: false
71− property bool hasKeyboard: false
72
71
73 // to be read from outside
72 // to be read from outside
74 readonly property int mainAppWindowOrientationAngle:
73 readonly property int mainAppWindowOrientationAngle: