summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Graeber <herbert@graeber-clan.de>2018-05-11 19:26:11 +0200
committerHerbert Graeber <herbert@graeber-clan.de>2018-05-11 19:26:11 +0200
commit59adb7cff367a2914a574214d853322dccc25d20 (patch)
tree10e77a151c5b61c108550f51ce7305a0156148d5
parent3f6f7533a6802a40b60fba8aad27f3781f033675 (diff)
Fix High Dpi Support. Works now under Windows ande KDE/Plasma.
Commit 4a530820 was incomplete... Qts scaling environment variables shall never be changed by application. That way the user hasn't any chance to fix things himself. With setting QT_AUTO_SCREEN_SCALE_FACTOR to 1 QtPass does not work under KDE/Plasma and cannot even be fixed by setting Qts scaling environment variables.
-rw-r--r--main/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index baec2707..41fcd955 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -39,7 +39,6 @@
* @return
*/
int main(int argc, char *argv[]) {
- qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QString text = "";
for (int i = 1; i < argc; ++i) {