mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Blur the colour channels instead of just the alpha channel of playlist
background images. Fixes issue 3498
This commit is contained in:
parent
d89954ae31
commit
2cb58ab937
@ -1224,7 +1224,7 @@ void PlaylistView::set_background_image(const QImage& image) {
|
||||
QImage blurred(background_image_.size(), QImage::Format_ARGB32_Premultiplied);
|
||||
blurred.fill(Qt::transparent);
|
||||
QPainter blur_painter(&blurred);
|
||||
qt_blurImage(&blur_painter, background_image_, blur_radius_, false, true);
|
||||
qt_blurImage(&blur_painter, background_image_, blur_radius_, true, false);
|
||||
blur_painter.end();
|
||||
|
||||
background_image_ = blurred;
|
||||
|
Loading…
Reference in New Issue
Block a user