summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qplaintextedit.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-20 09:18:44 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 17:00:10 +0100
commitf56f27e2cfd5880dfa8435f7648b080e02c8ee99 (patch)
tree829fb9cc70a10f991471e1cbbd04866cf80287f8 /src/gui/widgets/qplaintextedit.cpp
parentcbef10e1781cdef5ec6dcf0bdeea6506258ee431 (diff)
Fix QT_NO_GROUPBOX
Reviewed-by: tom
Diffstat (limited to 'src/gui/widgets/qplaintextedit.cpp')
-rw-r--r--src/gui/widgets/qplaintextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qplaintextedit.cpp b/src/gui/widgets/qplaintextedit.cpp
index fc618895d7..bb93546a21 100644
--- a/src/gui/widgets/qplaintextedit.cpp
+++ b/src/gui/widgets/qplaintextedit.cpp
@@ -1599,7 +1599,6 @@ void QPlainTextEdit::keyPressEvent(QKeyEvent *e)
return;
}
}
-#endif // QT_NO_SHORTCUT
if (!(tif & Qt::TextEditable)) {
switch (e->key()) {
@@ -1627,6 +1626,7 @@ void QPlainTextEdit::keyPressEvent(QKeyEvent *e)
}
return;
}
+#endif // QT_NO_SHORTCUT
d->sendControlEvent(e);
#ifdef QT_KEYPAD_NAVIGATION