diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-11-14 17:16:31 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-12-16 11:15:08 +0100 |
commit | ac23394ea8118fe50131513bcd68c822a7ac4095 (patch) | |
tree | 5296d36bb6221baf8ec222e102afdd9d8dcbbe60 /src/qt/networkstyle.cpp | |
parent | 8e76ca0429db552cbf6f51dadd5467a1bc899027 (diff) |
resize tray icon because a 1024x1024 icon won't show in ubuntu (bug)
Diffstat (limited to 'src/qt/networkstyle.cpp')
-rw-r--r-- | src/qt/networkstyle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp index 3762b84842..ff05174fb4 100644 --- a/src/qt/networkstyle.cpp +++ b/src/qt/networkstyle.cpp @@ -71,7 +71,8 @@ NetworkStyle::NetworkStyle(const QString &appName, const int iconColorHueShift, pixmap.convertFromImage(img); } - appIcon = QIcon(pixmap); + appIcon = QIcon(pixmap); + trayAndWindowIcon = QIcon(pixmap.scaled(QSize(256,256))); } const NetworkStyle *NetworkStyle::instantiate(const QString &networkId) |