aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/uat_dialog.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-09-30 10:51:41 +0200
committerAnders Broman <a.broman58@gmail.com>2016-10-03 05:00:30 +0000
commit1fbf831a6ba8eb46757ec93ecbe95efdf9020b3a (patch)
treef0a68c9876a80c29745d3d440ef7753642dbbdee /ui/qt/uat_dialog.h
parent54721903166d06734acb0d985e05f25125c98016 (diff)
Qt: properly handle UAT changes on dialog close
Ensure that UAT changes are always applied, not just when pressing the OK/Cancel buttons, but also when closing the dialog via the window close button or by pressing Escape. Change-Id: I0f0b97588553c6b01a24dfde78218d0ce2667e2c Reviewed-on: https://code.wireshark.org/review/17993 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/uat_dialog.h')
-rw-r--r--ui/qt/uat_dialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/uat_dialog.h b/ui/qt/uat_dialog.h
index 2ab108bf2a..c86ab97818 100644
--- a/ui/qt/uat_dialog.h
+++ b/ui/qt/uat_dialog.h
@@ -61,11 +61,11 @@ private slots:
void enumPrefCurrentIndexChanged(int index);
void stringPrefTextChanged(const QString & text);
void stringPrefEditingFinished();
+ void acceptChanges();
+ void rejectChanges();
void on_newToolButton_clicked();
void on_deleteToolButton_clicked();
void on_copyToolButton_clicked();
- void on_buttonBox_accepted();
- void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
private: