[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread/ui
From: Stefan Nikolaus <nikolaus.kde () googlemail ! com>
Date: 2010-06-26 8:30:59
Message-ID: 20100626083059.89F08AC8DF () svn ! kde ! org
[Download RAW message or body]
SVN commit 1142972 by nikolaus:
Cleanup: Simplify.
M +2 -4 Editors.cpp
--- trunk/koffice/kspread/ui/Editors.cpp #1142971:1142972
@@ -1112,8 +1112,7 @@
if (d->captureAllKeyEvents) {
break; // pass to KTextEdit
}
- // Send directly to the parent.
- QApplication::sendEvent(parent(), event);
+ event->ignore(); // pass to parent
return;
case Qt::Key_Return:
case Qt::Key_Enter:
@@ -1121,8 +1120,7 @@
if (event->modifiers() & Qt::ShiftModifier) {
break; // pass to KTextEdit
}
- // Send directly to the parent.
- QApplication::sendEvent(parent(), event);
+ event->ignore(); // pass to parent
return;
}
KTextEdit::keyPressEvent(event);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic