diff --git a/Modules/about-distro/src/Module.cpp b/Modules/about-distro/src/Module.cpp --- a/Modules/about-distro/src/Module.cpp +++ b/Modules/about-distro/src/Module.cpp @@ -138,11 +138,13 @@ const QString logoPath = cg.readEntry("LogoPath", QString()); QPixmap logo; + qreal dpr = devicePixelRatioF(); if (logoPath.isEmpty()) { - logo = QIcon::fromTheme(QStringLiteral("start-here-kde")).pixmap(128, 128); + logo = QIcon::fromTheme(QStringLiteral("start-here-kde")).pixmap(128 * dpr, 128 * dpr); } else { logo = QPixmap(logoPath); } + logo.setDevicePixelRatio(dpr); ui->logoLabel->setPixmap(logo); OSRelease os; diff --git a/main.cpp b/main.cpp --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,5 @@ + /* * main.cpp * @@ -36,6 +37,7 @@ KicApp::KicApp(int &argc, char **argv) : QApplication(argc, argv) { + QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); KLocalizedString::setApplicationDomain("kinfocenter"); const auto displayName = i18n("Info Center");