diff options
author | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2013-03-22 20:14:09 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-23 09:54:25 +0100 |
commit | adf5a5b48ee4895558d5288cf1355c626d82b4f9 (patch) | |
tree | 30e101afc798ae3fe18f41166d7b7c7a00495d4a /src/controls/TextField.qml | |
parent | 2952470f1f478a94238eb2e9f08e6fc40b816424 (diff) | |
download | qtquickcontrols-adf5a5b48ee4895558d5288cf1355c626d82b4f9.tar.gz |
TextField: Remove unnecessary MouseArea
Change-Id: I2ca953321130bb0b40f55cd4051d4b390b3db554
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/TextField.qml')
-rw-r--r-- | src/controls/TextField.qml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml index 8fd9353b..3163adda 100644 --- a/src/controls/TextField.qml +++ b/src/controls/TextField.qml @@ -549,6 +549,7 @@ Control { id: mouseArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.IBeamCursor onClicked: textfield.forceActiveFocus() } @@ -587,9 +588,4 @@ Control { renderType: Text.NativeRendering Behavior on opacity { NumberAnimation { duration: 90 } } } - MouseArea { - anchors.fill: parent - cursorShape: Qt.IBeamCursor - acceptedButtons: Qt.NoButton - } } |