summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventviewer.cpp
authorzautrix <zautrix>2005-02-23 14:09:49 (UTC)
committer zautrix <zautrix>2005-02-23 14:09:49 (UTC)
commitfaedffc5ce8391204e0340a21eaaf582319ac824 (patch) (side-by-side diff)
treecef25226d049d6a370bce9444edad171f4b24e97 /korganizer/koeventviewer.cpp
parent36704cb63582c161d2ab5c63e66ee63bbf3b865f (diff)
downloadkdepimpi-faedffc5ce8391204e0340a21eaaf582319ac824.zip
kdepimpi-faedffc5ce8391204e0340a21eaaf582319ac824.tar.gz
kdepimpi-faedffc5ce8391204e0340a21eaaf582319ac824.tar.bz2
focus fixes
Diffstat (limited to 'korganizer/koeventviewer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index 417d89c..44da058 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -694,2 +694,14 @@ void KOEventViewer::addText(QString text)
setText(mText);
}
+void KOEventViewer::keyPressEvent ( QKeyEvent * e )
+{
+ switch ( e->key() ) {
+ case Qt::Key_Return:
+ case Qt::Key_Enter :
+ e->ignore();
+ break;
+ default:
+ QTextBrowser::keyPressEvent ( e );
+ break;
+ }
+}