summaryrefslogtreecommitdiffstats
path: root/src/dialog.cpp
diff options
context:
space:
mode:
authorChristian Klinger2016-06-01 10:39:33 +0200
committerChristian Klinger2016-06-01 10:39:33 +0200
commit807847b420bf8a332bf35b5bddcb21d9dee2b0ad (patch)
treeec889023a88132d87e7b37ce1401ad7e418d3be3 /src/dialog.cpp
parentleft/right buttons work globally. (diff)
downloadvmchooser2-807847b420bf8a332bf35b5bddcb21d9dee2b0ad.tar.gz
vmchooser2-807847b420bf8a332bf35b5bddcb21d9dee2b0ad.tar.xz
vmchooser2-807847b420bf8a332bf35b5bddcb21d9dee2b0ad.zip
forward all other keys to the filterEdit-Box.
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r--src/dialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index 0a34f6c..568a6bd 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -714,6 +714,9 @@ bool Dialog::eventFilter(QObject* target, QEvent *event) {
return true;
} else if (keyEvent->key() == Qt::Key_Space) {
qDebug() << "space button";
+ } else {
+ /* forward to the search box */
+ ui->filterEdit->event(event);
}
}
return QDialog::eventFilter(target, event);