diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index 994d097024c..069fe1e2630 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -139,7 +139,7 @@ public: const QPixmap croppedLogo = logo.copy(cropR); const int lineHeight = welcomeTF.lineHeight(); const QPixmap scaledCroppedLogo = - croppedLogo.scaledToHeight((lineHeight - 12) * devicePixelRatioF(), + croppedLogo.scaledToHeight((lineHeight - 12) * croppedLogo.devicePixelRatioF(), Qt::SmoothTransformation); ideIconLabel->setPixmap(scaledCroppedLogo); ideIconLabel->setFixedHeight(lineHeight);