On 04/25/2016 03:41 PM, Stephan Witt wrote: > Richard, is this ok for 2.2 branches as well?
Yes, it's fine. You can commit to any branch where this is present. Richard > Stephan > >> Am 25.04.2016 um 20:57 schrieb Stephan Witt <sw...@lyx.org>: >> >> commit 1cbabdf8d51b26dd80677ddfeb64d13df91fefc0 >> Author: Stephan Witt <sw...@lyx.org> >> 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; >> } >> } >> }