Qt: Go back to using QIcon functionality for scaling
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user