This change introduced a regression and is not needed anymore.

(cherry picked from commit 1cbabdf8d51b26dd80677ddfeb64d13df91fefc0)
This commit is contained in:
Stephan Witt 2016-04-25 20:57:06 +02:00
parent 9384ed0f08
commit 21e4e939be

View File

@ -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;
}
}
}