Use Qt6 compatible blur effect.

This commit is contained in:
Mentalflow
2023-05-14 13:05:06 +08:00
parent 84e863f664
commit 74afdeaf49
2 changed files with 17 additions and 15 deletions

View File

@ -23,11 +23,9 @@ Item {
sourceRect: Qt.rect(control.x, control.y, control.width, control.height)
}
GaussianBlur {
FastBlur {
radius: 20
anchors.fill: effect_source
source: effect_source
samples: 1 + radius * 2
}
}