aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-02-03 13:34:20 -0500
committerKen Moore <ken@ixsystems.com>2017-02-03 13:34:20 -0500
commit2657fd932b44e550635ef5a15eeb7883722ce747 (patch)
treec4111d9a7bd84700dc9412b26d73f563bf3a0e0d
parentClean up a bit more of the lumina-screenshot interface, and add a button to c... (diff)
downloadlumina-2657fd932b44e550635ef5a15eeb7883722ce747.tar.gz
lumina-2657fd932b44e550635ef5a15eeb7883722ce747.tar.bz2
lumina-2657fd932b44e550635ef5a15eeb7883722ce747.zip
Try to fix the tiling high-DPI wallpaper issue.
-rw-r--r--src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp
index 18126dfa..75e4affc 100644
--- a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp
+++ b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp
@@ -325,8 +325,9 @@ void LDesktopPluginSpace::reloadPlugins(bool ForceIconUpdate ){
void LDesktopPluginSpace::paintEvent(QPaintEvent*ev){
if(!wallpaper.isNull()){
QPainter painter(this);
- painter.setBrush(wallpaper);
- painter.drawRect(ev->rect().adjusted(-1,-1,2,2));
+ //painter.setBrush(wallpaper);
+ //painter.drawRect(ev->rect().adjusted(-1,-1,2,2));
+ painter.drawPixmap(ev->rect(), wallpaper, ev->rect() );
}else{
QWidget::paintEvent(ev);
}
bgstack15