commit 345ec48ed3f845975c11290b3339a83c434815e5
Author: Stephan Witt <[email protected]>
Date: Mon Oct 20 17:15:23 2014 +0200
#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 58a46d6..e1e5ac3 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