aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LDesktopBackground.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-10-17 10:43:26 -0400
committerKen Moore <ken@ixsystems.com>2016-10-17 10:43:26 -0400
commit8691662461303fe6ab195df5aa2f23ed4dc8eedb (patch)
tree2d6a0490971f01cc58afc21293a58b59abd2396c /src-qt5/core/lumina-desktop/LDesktopBackground.cpp
parentFix the painting routines for the desktop/panel. Make sure we only paint the ... (diff)
downloadlumina-8691662461303fe6ab195df5aa2f23ed4dc8eedb.tar.gz
lumina-8691662461303fe6ab195df5aa2f23ed4dc8eedb.tar.bz2
lumina-8691662461303fe6ab195df5aa2f23ed4dc8eedb.zip
Turn off some debugging and fix the repaint of the entire wallpaper on change.
Diffstat (limited to 'src-qt5/core/lumina-desktop/LDesktopBackground.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/LDesktopBackground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktopBackground.cpp b/src-qt5/core/lumina-desktop/LDesktopBackground.cpp
index 97249384..c3d67117 100644
--- a/src-qt5/core/lumina-desktop/LDesktopBackground.cpp
+++ b/src-qt5/core/lumina-desktop/LDesktopBackground.cpp
@@ -67,7 +67,7 @@ void LDesktopBackground::setBackground(const QString& bgFile, const QString& for
painter.setBrushOrigin(dx, dy);
painter.drawRect(dx, dy, drawWidth, drawHeight);
}
- update();
+ this->repaint(this->geometry()); //make sure the entire thing gets repainted right away
show();
}
bgstack15