]> git.lyx.org Git - lyx.git/commitdiff
#9130 Text in main work area isn't rendered with high resolution
authorStephan Witt <switt@lyx.org>
Mon, 20 Oct 2014 15:15:23 +0000 (17:15 +0200)
committerStephan Witt <switt@lyx.org>
Mon, 20 Oct 2014 15:15:23 +0000 (17:15 +0200)
Search high resolution images only when application has detected high resolution screen

src/frontends/qt4/GuiApplication.h

index 58a46d67f8d0d5b3795e1a356496a390a70d333b..e1e5ac3e3d239ca9f2d9d2c43eb695843408a0e0 100644 (file)
@@ -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