summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-10-15 07:13:08 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-10-15 07:15:11 (GMT)
commit90aef55f03990960fff581339513c1918c7de36f (patch)
tree25f227ca5b085d64ccb06c679e512d93762a066f /src/gui
parentb2f0e73c35c42cf10e8347707150f118e454a7a2 (diff)
downloadQt-90aef55f03990960fff581339513c1918c7de36f.zip
Qt-90aef55f03990960fff581339513c1918c7de36f.tar.gz
Qt-90aef55f03990960fff581339513c1918c7de36f.tar.bz2
Signal for an update when the cursor is visible
The bug against QFxTextInput is actually due to a bug in QLineControl. Task-number: QT-2319 Reviewed-by: Martin Jones
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/qlinecontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qlinecontrol.cpp b/src/gui/widgets/qlinecontrol.cpp
index 5930540..7f9ff82 100644
--- a/src/gui/widgets/qlinecontrol.cpp
+++ b/src/gui/widgets/qlinecontrol.cpp
@@ -1290,7 +1290,7 @@ void QLineControl::setCursorBlinkPeriod(int msec)
m_blinkStatus = 1;
} else {
m_blinkTimer = 0;
- if (m_blinkStatus == 0)
+ if (m_blinkStatus == 1)
emit updateNeeded(inputMask().isEmpty() ? cursorRect() : QRect());
}
m_blinkPeriod = msec;