aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/stock_icon.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-09-22 09:08:39 -0700
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-09-23 19:48:58 +0000
commit66de69aeaee944cf3130dc75fe3ecb7f383be897 (patch)
tree363d219884b4a609cadc9303c22b757df2265b36 /ui/qt/stock_icon.h
parent29be7bf82f0b9eea5a85bade5dcfe5cffa7ef254 (diff)
Use the Qt-provided media icons.
Use Qt's standard pixmaps to build our media playback, stop, and pause icons. Note that we probably don't want to do this for all of the available standard pixmaps. Change-Id: I78541a46a65583d7365cd601c578ebe8f197c060 Reviewed-on: https://code.wireshark.org/review/10609 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui/qt/stock_icon.h')
-rw-r--r--ui/qt/stock_icon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/stock_icon.h b/ui/qt/stock_icon.h
index 0700bbe60f..3a20230d0c 100644
--- a/ui/qt/stock_icon.h
+++ b/ui/qt/stock_icon.h
@@ -41,6 +41,9 @@ public:
explicit StockIcon(const QString icon_name);
static QIcon colorIcon(const QRgb bg_color, const QRgb fg_color, const QString glyph = QString());
+
+private:
+ void fillIconNameMap();
};
#endif // STOCK_ICON_H