summaryrefslogtreecommitdiff
path: root/client/widgets
diff options
context:
space:
mode:
authordeva <deva>2010-08-17 08:34:16 +0000
committerdeva <deva>2010-08-17 08:34:16 +0000
commit399906b24e7a98f627418a87b39fa0c959352798 (patch)
tree7f6d2d495987face0a1b9ecbd650b4711138fdcb /client/widgets
parent57c5ca5b7fc3db3ab16d9a1cf2760d114e5685ca (diff)
Make enter/return skip to next (tab) widget.
Diffstat (limited to 'client/widgets')
-rw-r--r--client/widgets/lineedit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/widgets/lineedit.cc b/client/widgets/lineedit.cc
index 9fb5f09..a8ea600 100644
--- a/client/widgets/lineedit.cc
+++ b/client/widgets/lineedit.cc
@@ -103,7 +103,7 @@ bool LineEdit::eventFilter(QObject *, QEvent *event)
if(keyEvent->key() == Qt::Key_Return ||
keyEvent->key() == Qt::Key_Enter) {
QKeyEvent tabevent(QEvent::KeyPress, Qt::Key_Tab, Qt::NoModifier);
- QCoreApplication::sendEvent(this, &tabevent);
+ QCoreApplication::sendEvent(lineedit, &tabevent);
}
}
return false;