diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-11-14 12:58:30 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-12-16 11:15:08 +0100 |
commit | 8e76ca0429db552cbf6f51dadd5467a1bc899027 (patch) | |
tree | 1119ac3a164e86e78bd40451cf00efa0ae054798 /src/qt/networkstyle.h | |
parent | 54f2571a00632e9813b9fabb447c7cc80f74ad29 (diff) |
Qt: Go back to using QIcon functionality for scaling
Diffstat (limited to 'src/qt/networkstyle.h')
-rw-r--r-- | src/qt/networkstyle.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qt/networkstyle.h b/src/qt/networkstyle.h index 2bfb3c1d55..3e3332cd8b 100644 --- a/src/qt/networkstyle.h +++ b/src/qt/networkstyle.h @@ -17,16 +17,14 @@ public: static const NetworkStyle *instantiate(const QString &networkId); const QString &getAppName() const { return appName; } + const QIcon &getAppIcon() const { return appIcon; } const QString &getTitleAddText() const { return titleAddText; } - QIcon getAppIcon() const; - QIcon getAppIcon(const QSize size) const; private: NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText); QString appName; - int iconColorHueShift; - int iconColorSaturationReduction; + QIcon appIcon; QString titleAddText; }; |