aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/column_editor_frame.h
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2015-12-01 15:41:44 +0100
committerGerald Combs <gerald@wireshark.org>2015-12-01 23:33:57 +0000
commitb932ee8f136ffeb3e78ce0f03e08df81fd18d9d4 (patch)
tree2826b2e104b2894ae3a47c840cc1f3efce2d5420 /ui/qt/column_editor_frame.h
parent96bf82ced0b58c7a4c2a6c300efeebe4f05c0ff4 (diff)
Qt Frames: Use ButtonBox instead of buttons
In these frames the Ok and Close buttons are implemented as standalone buttons. This leads to the scenario, that they break plattform-ui preferences on the one hand, as well as not being the same order throughout. This patch replaces all Ok/Close buttons with the Qt button box, which handles the plattform-ui internally, and additionally allways enforces the same order. Change-Id: If62b90016b222322f60c0962da04c8277589a57f Reviewed-on: https://code.wireshark.org/review/12335 Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/column_editor_frame.h')
-rw-r--r--ui/qt/column_editor_frame.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/column_editor_frame.h b/ui/qt/column_editor_frame.h
index b35200dcad..f7e019bad5 100644
--- a/ui/qt/column_editor_frame.h
+++ b/ui/qt/column_editor_frame.h
@@ -44,8 +44,8 @@ private slots:
void on_typeComboBox_activated(int index);
void on_fieldNameLineEdit_textEdited(const QString &field);
void on_occurrenceLineEdit_textEdited(const QString &occurrence);
- void on_cancelButton_clicked();
- void on_okButton_clicked();
+ void on_buttonBox_rejected();
+ void on_buttonBox_accepted();
private:
Ui::ColumnEditorFrame *ui;