use the mobiletextcursor from proper namespace

This commit is contained in:
Marco Martin 2019-04-16 11:21:34 +02:00
parent 2a636d6671
commit 8431223542
3 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ T.ComboBox {
Component { Component {
id: mobileCursor id: mobileCursor
Private.MobileCursor { MobileTextSelection.MobileCursor {
target: textField target: textField
} }
} }

View File

@ -55,7 +55,7 @@ T.TextArea {
cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null
Component { Component {
id: mobileCursor id: mobileCursor
Private.MobileCursor { MobileTextSelection.MobileCursor {
target: control target: control
} }
} }

View File

@ -70,7 +70,7 @@ T.TextField {
cursorPosition = positionAt(event.x, event.y); cursorPosition = positionAt(event.x, event.y);
selectWord(); selectWord();
} }
Private.MobileCursor { MobileTextSelection.MobileCursor {
target: control target: control
selectionStartHandle: true selectionStartHandle: true
property var rect: target.positionToRectangle(target.selectionStart) property var rect: target.positionToRectangle(target.selectionStart)