diff options
author | q5sys (JT) <jt@ixsystems.com> | 2018-04-14 14:08:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-14 14:08:20 -0400 |
commit | 073e813d9998ff29a6aff66cbb7d2b6a7d94b902 (patch) | |
tree | ee1437803e05a01b7001efede5f757da6b7cd2ee /src-qt5/core | |
parent | Merge pull request #564 from orangecms/fix/twitter-link (diff) | |
parent | lumina-desktop: Use smoothing when scaling wallpaper (diff) | |
download | lumina-073e813d9998ff29a6aff66cbb7d2b6a7d94b902.tar.gz lumina-073e813d9998ff29a6aff66cbb7d2b6a7d94b902.tar.bz2 lumina-073e813d9998ff29a6aff66cbb7d2b6a7d94b902.zip |
Merge pull request #573 from rodlie/lumina-desktop_wallpaper_smooth_scale
lumina-desktop: Use smoothing when scaling wallpaper
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/lumina-desktop/LDesktopBackground.cpp | 2 |
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 6b458c24..22ee6dc4 100644 --- a/src-qt5/core/lumina-desktop/LDesktopBackground.cpp +++ b/src-qt5/core/lumina-desktop/LDesktopBackground.cpp @@ -46,7 +46,7 @@ QPixmap LDesktopBackground::setBackground(const QString& bgFile, const QString& } else { mode = Qt::KeepAspectRatio; } - if(bgImage.height() != geom.height() && bgImage.width() != geom.width() ){ bgImage = bgImage.scaled(geom.size(), mode); } + if(bgImage.height() != geom.height() && bgImage.width() != geom.width() ){ bgImage = bgImage.scaled(geom.size(), mode, Qt::SmoothTransformation); } //bgImage = bgImage.scaled(size(), mode); } |