From 345ec48ed3f845975c11290b3339a83c434815e5 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Mon, 20 Oct 2014 17:15:23 +0200 Subject: [PATCH] #9130 Text in main work area isn't rendered with high resolution Search high resolution images only when application has detected high resolution screen --- src/frontends/qt4/GuiApplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiApplication.h b/src/frontends/qt4/GuiApplication.h index 58a46d67f8..e1e5ac3e3d 100644 --- a/src/frontends/qt4/GuiApplication.h +++ b/src/frontends/qt4/GuiApplication.h @@ -147,7 +147,7 @@ public: /// How to load image files support::search_mode imageSearchMode() const { #if QT_VERSION >= 0x050000 - return support::check_hidpi; + return pixelRatio() > 1 ? support::check_hidpi : support::must_exist; #else return support::must_exist; #endif -- 2.39.2