summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qlineedit_p.h
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-12-16 12:14:12 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-12-16 12:23:36 (GMT)
commit0568fb9f428a84a344baaa5c53395db4b99f082c (patch)
tree4437c9e86e5cd9c903f9766c96076efdd5ee92f2 /src/gui/widgets/qlineedit_p.h
parente1706eab16a4cd7f64665249717cc293d3a1ce93 (diff)
downloadQt-0568fb9f428a84a344baaa5c53395db4b99f082c.zip
Qt-0568fb9f428a84a344baaa5c53395db4b99f082c.tar.gz
Qt-0568fb9f428a84a344baaa5c53395db4b99f082c.tar.bz2
Text cursor is not shown properly in line edits on Mac OS X.
The mac stlye disables the blinking cursor when there is a selection in the line edit. The cursor is not shown back when this selection is removed (either by mouse or key press events). This patch watches the selection changed signal from the line control and updates the cursor status accordingly. Task-number: QTBUG-6378 Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/gui/widgets/qlineedit_p.h')
-rw-r--r--src/gui/widgets/qlineedit_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qlineedit_p.h b/src/gui/widgets/qlineedit_p.h
index dc648e8..f13dce2 100644
--- a/src/gui/widgets/qlineedit_p.h
+++ b/src/gui/widgets/qlineedit_p.h
@@ -128,7 +128,7 @@ public:
#ifdef QT_KEYPAD_NAVIGATION
void _q_editFocusChange(bool);
#endif
-
+ void _q_selectionChanged();
#ifndef QT_NO_COMPLETER
void _q_completionHighlighted(QString);
#endif