Fix blur radius
This commit is contained in:
parent
07c29526b1
commit
e5795339d9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user