From: Stephan Witt Date: Mon, 20 Oct 2014 15:15:23 +0000 (+0200) Subject: #9130 Text in main work area isn't rendered with high resolution X-Git-Tag: 2.2.0alpha1~1622 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=345ec48ed3f845975c11290b3339a83c434815e5;p=features.git #9130 Text in main work area isn't rendered with high resolution Search high resolution images only when application has detected high resolution screen --- 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