commit 1cbabdf8d51b26dd80677ddfeb64d13df91fefc0
Author: Stephan Witt <[email protected]>
Date:   Mon Apr 25 20:57:06 2016 +0200

    Revert part of c053a9394d1075ecad02ccce2f34c95f08c1f00f
    This change introduced a regression and is not needed anymore.

diff --git a/src/graphics/GraphicsLoader.cpp b/src/graphics/GraphicsLoader.cpp
index 498394e..23ebb62 100644
--- a/src/graphics/GraphicsLoader.cpp
+++ b/src/graphics/GraphicsLoader.cpp
@@ -460,10 +460,6 @@ void Loader::Impl::createPixmap()
                if (idx != string::npos && idx > 3) {
                        if (filename.substr(idx - 3, 3) == "@2x") {
                                params_.pixel_ratio = 2.0;
-                       } else if (cached_item_->filename().extension() == 
"svgz") {
-                               params_.pixel_ratio = 4.0;
-                       } else if (cached_item_->filename().extension() == 
"svg") {
-                               params_.pixel_ratio = 4.0;
                        }
                }
        }

Reply via email to