Fix blur radius

This commit is contained in:
ArsenArsen 2017-12-09 21:25:01 +01:00
parent 07c29526b1
commit e5795339d9
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2

View File

@ -9,7 +9,7 @@ bool BlurItem::init(CropScene *) {
blurHints.setFlag(QGraphicsBlurEffect::PerformanceHint, settings::settings().value("blur/performanceHint", true).toBool());
blurHints.setFlag(QGraphicsBlurEffect::QualityHint, settings::settings().value("blur/qualityHint", false).toBool());
effect->setBlurHints(blurHints);
effect->setBlurRadius(settings::settings().value("blurRadius", 5.).toDouble());
effect->setBlurRadius(settings::settings().value("blur/radius", 5.).toDouble());
return true;
}