From 9cbad0207eda99f476393e1628cf9562b3730132 Mon Sep 17 00:00:00 2001 From: Michal Labedzki Date: Mon, 18 Apr 2016 19:31:17 +0200 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Michal Labedzki Tested-by: Michal Labedzki --- ui/qt/bluetooth_hci_summary_dialog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/qt/bluetooth_hci_summary_dialog.h') diff --git a/ui/qt/bluetooth_hci_summary_dialog.h b/ui/qt/bluetooth_hci_summary_dialog.h index 1ac24a0d25..2fd3999067 100644 --- a/ui/qt/bluetooth_hci_summary_dialog.h +++ b/ui/qt/bluetooth_hci_summary_dialog.h @@ -64,6 +64,7 @@ signals: void goToPacket(int packet_num); protected: + void keyPressEvent(QKeyEvent *event); protected slots: void changeEvent(QEvent* event); -- cgit v1.2.1