Commit fdd2fc88 authored by Nathaniel Graham's avatar Nathaniel Graham
Browse files

Show high-resolution and vector logos properly in HighDPI mode

Summary:
BUG: 388633

Take the device pixel ratio into consideration when rendering the logo, so it looks nice in HighDPI mode.

Test Plan:
Tested in NDE Neon with the standard Plasma logo, which is an SVG.

Before:

After:

Reviewers: #plasma

Subscribers: cfeck, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10357
parent f6a56279
......@@ -36,6 +36,7 @@
KicApp::KicApp(int &argc, char **argv)
: QApplication(argc, argv)
{
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
KLocalizedString::setApplicationDomain("kinfocenter");
const auto displayName = i18n("Info Center");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment