diff options
author | Ken Moore <ken@ixsystems.com> | 2017-02-03 13:34:20 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-02-03 13:34:20 -0500 |
commit | 2657fd932b44e550635ef5a15eeb7883722ce747 (patch) | |
tree | c4111d9a7bd84700dc9412b26d73f563bf3a0e0d | |
parent | Clean up a bit more of the lumina-screenshot interface, and add a button to c... (diff) | |
download | lumina-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.cpp | 5 |
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); } |