aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/column_preferences_frame.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2019-06-20 11:25:49 -0700
committerGerald Combs <gerald@wireshark.org>2019-06-21 23:51:49 +0000
commit7b557088e9cf2e1d9bb82eb3714851e671414c43 (patch)
tree8d1ff605e9bfee90614685513aa2f428a2393572 /ui/qt/column_preferences_frame.cpp
parentd0b961f9829a3241adac74f37df920ae0dd46096 (diff)
Qt: Convert the rest of the preference dialog list buttons.
We no longer use the old icon names, so remove their aliases from stock_icons.qrc. Ping-Bug: 15511 Change-Id: If3c5e2b95825207a401e12607fcb94cdcc8a51c8 Reviewed-on: https://code.wireshark.org/review/33689 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/column_preferences_frame.cpp')
-rw-r--r--ui/qt/column_preferences_frame.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/column_preferences_frame.cpp b/ui/qt/column_preferences_frame.cpp
index 4920ef8b81..1818a189a4 100644
--- a/ui/qt/column_preferences_frame.cpp
+++ b/ui/qt/column_preferences_frame.cpp
@@ -60,6 +60,9 @@ ColumnPreferencesFrame::ColumnPreferencesFrame(QWidget *parent) :
ui->columnTreeWidget->setDropIndicatorShown(true);
ui->columnTreeWidget->setDragDropMode(QAbstractItemView::InternalMove);
+ ui->newToolButton->setStockIcon("list-add");
+ ui->deleteToolButton->setStockIcon("list-remove");
+
for (GList *cur = g_list_first(prefs.col_list); cur != NULL && cur->data != NULL; cur = cur->next) {
fmt_data *cfmt = (fmt_data *) cur->data;
addColumn(cfmt->visible, cfmt->title, cfmt->fmt, cfmt->custom_fields, cfmt->custom_occurrence);