aboutsummaryrefslogtreecommitdiff
path: root/src/qt/networkstyle.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2014-11-14 17:16:31 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-16 11:15:08 +0100
commitac23394ea8118fe50131513bcd68c822a7ac4095 (patch)
tree5296d36bb6221baf8ec222e102afdd9d8dcbbe60 /src/qt/networkstyle.cpp
parent8e76ca0429db552cbf6f51dadd5467a1bc899027 (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.cpp3
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)