aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-11-14 12:58:30 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-16 11:15:08 +0100
commit8e76ca0429db552cbf6f51dadd5467a1bc899027 (patch)
tree1119ac3a164e86e78bd40451cf00efa0ae054798 /src/qt/splashscreen.cpp
parent54f2571a00632e9813b9fabb447c7cc80f74ad29 (diff)
Qt: Go back to using QIcon functionality for scaling
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r--src/qt/splashscreen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index bfc69636bb..378d79c1e1 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -67,8 +67,7 @@ SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle)
QRect rectIcon(QPoint(-150,-122), QSize(430,430));
const QSize requiredSize(1024,1024);
- QIcon appIcon = networkStyle->getAppIcon(requiredSize);
- QPixmap icon(appIcon.pixmap(requiredSize));
+ QPixmap icon(networkStyle->getAppIcon().pixmap(requiredSize));
pixPaint.drawPixmap(rectIcon, icon);