Commit 32bd5477 authored by Rinigus Saar's avatar Rinigus Saar

disable text prediction in private mode

parent 4114620f
......@@ -40,6 +40,7 @@ Kirigami.ScrollablePage {
width: parent.width - Kirigami.Units.gridUnit
clip: true
inputMethodHints: rootPage.privateMode ? Qt.ImhNoPredictiveText : Qt.ImhNone
Kirigami.Theme.inherit: true
onDisplayTextChanged: list.model.filter = displayText;
......
......@@ -40,6 +40,7 @@ Kirigami.ScrollablePage {
width: parent.width - Kirigami.Units.gridUnit
clip: true
inputMethodHints: rootPage.privateMode ? Qt.ImhNoPredictiveText : Qt.ImhNone
Kirigami.Theme.inherit: true
onDisplayTextChanged: list.model.filter = displayText;
......
......@@ -75,6 +75,7 @@ Controls.Drawer {
Layout.fillWidth: true
clip: true
focus: false
inputMethodHints: rootPage.privateMode ? Qt.ImhNoPredictiveText : Qt.ImhNone
Kirigami.Theme.inherit: true
onActiveFocusChanged: if (activeFocus) selectAll()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment