summaryrefslogtreecommitdiff
path: root/ui/qt/bluetooth_devices_dialog.h
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2016-04-18 19:31:17 +0200
committerMichal Labedzki <michal.labedzki@tieto.com>2016-05-20 14:53:13 +0000
commit9cbad0207eda99f476393e1628cf9562b3730132 (patch)
tree9e383dc526b795298af307c0aeba51707d0fd3b9 /ui/qt/bluetooth_devices_dialog.h
parent7a7d790e7b42d133fceb1a1cf3ef3e3488dde84d (diff)
downloadwireshark-9cbad0207eda99f476393e1628cf9562b3730132.tar.gz
Qt/Bluetooth: Allow to use Enter button for jump to frames
Implement keyPressEvent and do nothing... However it "takes focus" from button box and jump to frame that some items in tree widget point. Change-Id: Ib08f1588f20bce66fa945bf952770600c625233c Reviewed-on: https://code.wireshark.org/review/15455 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'ui/qt/bluetooth_devices_dialog.h')
-rw-r--r--ui/qt/bluetooth_devices_dialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/bluetooth_devices_dialog.h b/ui/qt/bluetooth_devices_dialog.h
index ddfe732d18..98691dface 100644
--- a/ui/qt/bluetooth_devices_dialog.h
+++ b/ui/qt/bluetooth_devices_dialog.h
@@ -63,6 +63,7 @@ signals:
void goToPacket(int packet_num);
protected:
+ void keyPressEvent(QKeyEvent *event);
protected slots:
void changeEvent(QEvent* event);