aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-12-02 22:15:28 +0100
committerAnders Broman <a.broman58@gmail.com>2015-12-03 04:54:50 +0000
commit6b7da34b4b8b6f5e6a0c7ee3bf4d2f3ec2af4333 (patch)
tree842007eeea989651ee12609accee0c9a4a73c26f /ui/qt/main_window.h
parentea447aad1fb26e50e790c9370f2e90c8b5d2e3d9 (diff)
Qt: Check display filter when changing profile
The Display Filter Macros may have changed and if a macro is currently used in the display filter then cf_redissect_packets() will bail out in an assert if trying to apply an invalid filter. Change-Id: I842016360672d76d190454ce80ccc7604f2075b3 Reviewed-on: https://code.wireshark.org/review/12388 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r--ui/qt/main_window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index abafcfe1f7..a6afdf560e 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -278,6 +278,7 @@ private slots:
void interfaceSelectionChanged();
void captureFilterSyntaxChanged(bool valid);
void redissectPackets();
+ void checkDisplayFilter();
void fieldsChanged();
void showAccordionFrame(AccordionFrame *show_frame, bool toggle = false);
void showColumnEditor(int column);