From: Daniel Albers Date: Sun, 25 Jan 2009 23:15:00 +0000 (+0100) Subject: Stop InputLine::eventFilter() from eating JumpKeys X-Git-Tag: 0.4.0~22 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b7adadd990f9647f94b92f42d3b0a6d7d6223ebd Stop InputLine::eventFilter() from eating JumpKeys Fixes #501. --- diff --git a/src/uisupport/inputline.cpp b/src/uisupport/inputline.cpp index 53bcdcac..355845db 100644 --- a/src/uisupport/inputline.cpp +++ b/src/uisupport/inputline.cpp @@ -43,7 +43,7 @@ bool InputLine::eventFilter(QObject *watched, QEvent *event) { BufferView *view = qobject_cast(watched); if(view) { QKeyEvent *keyEvent = static_cast(event); - if(keyEvent->text().length() == 1) { // normal key press + if(keyEvent->text().length() == 1 && !(keyEvent->modifiers() & (Qt::ControlModifier ^ Qt::AltModifier)) ) { // normal key press QChar c = keyEvent->text().at(0); if(c.isLetterOrNumber() || c.isSpace() || c.isPunct() || c.isSymbol()) { setFocus();