@@ -30,7 +30,7 @@ Item {
3030 }
3131
3232 Component.onCompleted: {
33− if (!inputMethodState.touchpadTutorialHasRun) {
33+ if (!settings.touchpadTutorialHasRun) {
3434 root.runTutorial()
3535 }
3636 }
@@ -57,9 +57,8 @@ Item {
5757
5858 readonly property bool pressed: point1.pressed || point2.pressed || leftButton.pressed || rightButton.pressed
5959
60− Settings {
61− id: inputMethodState
62− objectName: "inputMethodState"
60+ property var settings: Settings {
61+ objectName: "virtualTouchPadSettings"
6362 property bool touchpadTutorialHasRun: false
6463 property bool oskEnabled: true
6564 }
@@ -224,7 +223,7 @@ Item {
224223 width: height
225224
226225 onClicked: {
227− inputMethodState.oskEnabled = !inputMethodState.oskEnabled
226+ settings.oskEnabled = !settings.oskEnabled
228227 }
229228
230229 Rectangle {
@@ -247,7 +246,7 @@ Item {
247246 InputMethod {
248247 id: inputMethod
249248 // Don't resize when there is only one screen to avoid resize clashing with the InputMethod in the Shell.
250− enabled: screens.count > 1 && inputMethodState.oskEnabled && !tutorial.running
249+ enabled: screens.count > 1 && settings.oskEnabled && !tutorial.running
251250 objectName: "inputMethod"
252251 anchors.fill: parent
253252 }
@@ -402,6 +401,6 @@ Item {
402401 UbuntuNumberAnimation { target: oskButton; property: "opacity"; to: 1 }
403402 PropertyAction { targets: [leftButton, rightButton, oskButton]; property: "enabled"; value: true }
404403
405− PropertyAction { target: inputMethodState; property: "touchpadTutorialHasRun"; value: true }
404+ PropertyAction { target: settings; property: "touchpadTutorialHasRun"; value: true }
406405 }
407406}