From 30301c83ee3f1dc38027db092c9597ebffcc39e7 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 9 Apr 2024 20:08:45 +0300 Subject: [PATCH] plasma: fill the exposed rectangle with the set color in potd wallpaper Signed-off-by: Ivailo Monev --- plasma/wallpapers/potd/potd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plasma/wallpapers/potd/potd.cpp b/plasma/wallpapers/potd/potd.cpp index 69354e6a..8a8fe86c 100644 --- a/plasma/wallpapers/potd/potd.cpp +++ b/plasma/wallpapers/potd/potd.cpp @@ -108,7 +108,7 @@ void PoTD::paint(QPainter *painter, const QRectF &exposedRect) { const QSize brectsize = boundingRect().size().toSize(); if (m_image.isNull() || m_size != brectsize) { - painter->fillRect(exposedRect, QBrush(Qt::black)); + painter->fillRect(exposedRect, m_color); m_size = brectsize; if (!m_imagepath.isEmpty()) { kDebug() << "rendering potd" << m_imagepath << m_size << m_resizemethod << m_color;