summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorChristopher Ham <christopher.ham@nokia.com>2010-12-06 05:46:47 (GMT)
committerChristopher Ham <christopher.ham@nokia.com>2010-12-06 05:54:21 (GMT)
commitb74ec2156b2a1f1acd38443047da5bb26cb082b1 (patch)
treef550010a6856beb11aa42dc44876cd051bb7ab1a /src/declarative/graphicsitems
parentac977c4d57eba8fe2b71e51fc3d0b5eddd416e17 (diff)
downloadQt-b74ec2156b2a1f1acd38443047da5bb26cb082b1.zip
Qt-b74ec2156b2a1f1acd38443047da5bb26cb082b1.tar.gz
Qt-b74ec2156b2a1f1acd38443047da5bb26cb082b1.tar.bz2
Cursor shouldn't blink while dragging cursor position
A function resetCursorBlinkerTimer was introduced to QLineControl. Each time the cursor position in a textInput is updated, the blinker timer is reset. Task-number: QTBUG-15815 Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index f8421a3..df103de 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -1479,6 +1479,7 @@ void QDeclarativeTextInput::cursorPosChanged()
updateRect();//TODO: Only update rect between pos's
updateMicroFocus();
emit cursorPositionChanged();
+ d->control->resetCursorBlinkTimer();
if(!d->control->hasSelectedText()){
if(d->lastSelectionStart != d->control->cursor()){