projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac builds will not have minimize to tray on left click (which should be a problem...
[quassel.git]
/
src
/
uisupport
/
inputline.cpp
diff --git
a/src/uisupport/inputline.cpp
b/src/uisupport/inputline.cpp
index
1d23faa
..
05f9755
100644
(file)
--- a/
src/uisupport/inputline.cpp
+++ b/
src/uisupport/inputline.cpp
@@
-42,7
+42,8
@@
InputLine::~InputLine() {
}
void InputLine::keyPressEvent(QKeyEvent * event) {
}
void InputLine::keyPressEvent(QKeyEvent * event) {
- if(event->modifiers() == jumpModifier || event->modifiers() == bindModifier) {
+ if((event->modifiers() == jumpModifier || event->modifiers() == bindModifier) &&
+ (Qt::Key_0 <= event->key() && event->key() <= Qt::Key_9)) {
event->ignore();
return;
}
event->ignore();
return;
}