mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: fill the exposed rectangle with the set color in potd wallpaper
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b61f979a85
commit
30301c83ee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue