diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-01-29 16:45:04 -0800 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-01-30 22:02:42 +0000 |
commit | c9d148c077213c256e275574420fc67d61f6835a (patch) | |
tree | 735f6d055da4200afead2abd28ab2109e1a7e658 /ui/qt/capture_filter_edit.cpp | |
parent | 22e5cdbb9bd38710f59ad5ba19c3343b1c033dc7 (diff) | |
download | wireshark-c9d148c077213c256e275574420fc67d61f6835a.tar.gz |
Update filter bookmark icons.
Separate the capture and display filter bookmark icons. Make the capture
icon green to match(-ish) the active capture icon. Tested on nice+new
and janky+old displays.
Change-Id: I6ed532c8a49da50fe2a7de3d8fbd0b1af7623b4a
Reviewed-on: https://code.wireshark.org/review/13612
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/capture_filter_edit.cpp')
-rw-r--r-- | ui/qt/capture_filter_edit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/capture_filter_edit.cpp b/ui/qt/capture_filter_edit.cpp index 24b4fe37ac..da63638aa8 100644 --- a/ui/qt/capture_filter_edit.cpp +++ b/ui/qt/capture_filter_edit.cpp @@ -132,7 +132,7 @@ CaptureFilterEdit::CaptureFilterEdit(QWidget *parent, bool plain) : #endif if (!plain_) { - bookmark_button_ = new StockIconToolButton(this, "x-filter-bookmark"); + bookmark_button_ = new StockIconToolButton(this, "x-capture-filter-bookmark"); bookmark_button_->setCursor(Qt::ArrowCursor); bookmark_button_->setMenu(new QMenu()); bookmark_button_->setPopupMode(QToolButton::InstantPopup); @@ -315,7 +315,7 @@ void CaptureFilterEdit::checkFilter(const QString& filter) remove_action_->setVisible(true); } } else { - bookmark_button_->setStockIcon("x-filter-bookmark"); + bookmark_button_->setStockIcon("x-capture-filter-bookmark"); if (remove_action_) { remove_action_->setVisible(false); } |