diff options
author | Ralf Engels <ralf.engels@nokia.com> | 2009-11-09 18:20:36 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-11-16 15:52:26 (GMT) |
commit | c859454d5b163edb15fd2dcab89ecfaacbd49aa6 (patch) | |
tree | 45197e1a4034f2d474bfe91b74da41bbc6d2d326 /src/gui/widgets/qtextedit.cpp | |
parent | 9da9339e4ced8d8c54a4585d3e94cbe6a2d9c574 (diff) | |
download | Qt-c859454d5b163edb15fd2dcab89ecfaacbd49aa6.zip Qt-c859454d5b163edb15fd2dcab89ecfaacbd49aa6.tar.gz Qt-c859454d5b163edb15fd2dcab89ecfaacbd49aa6.tar.bz2 |
Maemo4 fix Hildon input method for graphics view
Signed-off-by: axis <qt-info@nokia.com>
Diffstat (limited to 'src/gui/widgets/qtextedit.cpp')
-rw-r--r-- | src/gui/widgets/qtextedit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/qtextedit.cpp b/src/gui/widgets/qtextedit.cpp index 14de719..3a4d77d 100644 --- a/src/gui/widgets/qtextedit.cpp +++ b/src/gui/widgets/qtextedit.cpp @@ -1576,7 +1576,8 @@ void QTextEdit::mouseReleaseEvent(QMouseEvent *e) d->autoScrollTimer.stop(); ensureCursorVisible(); } - d->handleSoftwareInputPanel(e->button(), d->clickCausedFocus); + if (!isReadOnly()) + d->handleSoftwareInputPanel(e->button(), d->clickCausedFocus); d->clickCausedFocus = 0; } |