diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-06-22 14:03:02 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-06-22 21:05:53 +0000 |
commit | df352c535ff1f22cac89c06bc3dae669ff6853b9 (patch) | |
tree | 98c0d7f526af25ed22c52300478e76cc47755d5f | |
parent | f99e20e7e2f62ba24856fb8d28a50004b47a03b3 (diff) | |
download | wireshark-df352c535ff1f22cac89c06bc3dae669ff6853b9.tar.gz |
Use StockIcon to load toolbar icons.
StockIcon loads each available icon size.
Change-Id: Ia5604cc11ed8350e7f4f782312939cf30c94f548
Reviewed-on: https://code.wireshark.org/review/9030
Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r-- | ui/qt/interface_tree.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/interface_tree.cpp b/ui/qt/interface_tree.cpp index 6a04a24a64..b4678d8d1e 100644 --- a/ui/qt/interface_tree.cpp +++ b/ui/qt/interface_tree.cpp @@ -32,6 +32,7 @@ #include "qt_ui_utils.h" #include "sparkline_delegate.h" +#include "stock_icon.h" #include "wireshark_application.h" #ifdef HAVE_EXTCAP @@ -145,7 +146,7 @@ void InterfaceTree::display() #ifdef HAVE_LIBPCAP interface_t device; #if HAVE_EXTCAP - QIcon extcap_icon(":/icons/toolbar/16x16/x-capture-options.png"); + QIcon extcap_icon(StockIcon("x-capture-options")); #endif setDisabled(false); |