aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/preference_editor_frame.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-11-24 19:17:55 +0100
committerAnders Broman <a.broman58@gmail.com>2017-11-25 09:30:21 +0000
commit89ae2826d6158e62fe3db9c18d01721a2168e9cc (patch)
tree0fcb61447b41e6d54a79e2beb398c48ba8625335 /ui/qt/preference_editor_frame.h
parente1f3d9dcbee7dac3ad06d9a0ca2e63896e1f7305 (diff)
Qt: AccordionFrame users keyPressEvent() fixes
- Declare keyPressEvent() virtual. - Give keyPressEvent() to parent when done. Change-Id: If1c05e86a5ab71dd239c025cdb2bcfb1ef484811 Reviewed-on: https://code.wireshark.org/review/24573 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/preference_editor_frame.h')
-rw-r--r--ui/qt/preference_editor_frame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/preference_editor_frame.h b/ui/qt/preference_editor_frame.h
index 3c1b6b9..f4f4947 100644
--- a/ui/qt/preference_editor_frame.h
+++ b/ui/qt/preference_editor_frame.h
@@ -49,7 +49,7 @@ signals:
protected:
virtual void showEvent(QShowEvent *event);
- void keyPressEvent(QKeyEvent *event);
+ virtual void keyPressEvent(QKeyEvent *event);
private slots:
// Similar to ModulePreferencesScrollArea