1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Blur the colour channels instead of just the alpha channel of playlist

background images.  Fixes issue 3498
This commit is contained in:
Mateusz Kowalczyk 2013-02-17 01:02:13 +00:00 committed by David Sansome
parent d89954ae31
commit 2cb58ab937

View File

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