Determine if we should use Qt scaling based on env var

Authored by davidedmundson on Aug 8 2017, 10:37 AM.

Description

Determine if we should use Qt scaling based on env var

Summary:
KWindowSystem::platform() cannot be used before QApplication is
constructed.

QCoreApplication::setAttribute needs to be called before QApplication is
constructed.

We need a different method. I've used an explicit new env variable so
that some users can also opt in to use this when on X.

Test Plan:
Logged in.
Plasma panels all work. Look to be native resolution.

Reviewers: Plasma, mart

Reviewed By: Plasma, mart

Subscribers: mart, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D7200

Details

Committed
davidedmundsonAug 8 2017, 10:37 AM
Reviewer
Plasma
Differential Revision
D7200: Determine if we should use Qt scaling based on env var
Parents
R120:7e2c616f67d6: Merge branch 'Plasma/5.10'
Branches
Unknown
Tags
Unknown