[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma/private
From: Beat Wolf <asraniel () fryx ! ch>
Date: 2009-12-07 14:28:39
Message-ID: 1260196119.211986.8373.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1059840 by beatwolf:
fix scaling, patch by Rickard Närström.
BUG:186188
M +0 -3 wallpaperrenderthread.cpp
--- trunk/KDE/kdelibs/plasma/private/wallpaperrenderthread.cpp #1059839:1059840
@@ -155,7 +155,6 @@
switch (method)
{
case Wallpaper::ScaledResize:
- imgSize *= ratio;
scaledSize = size;
break;
case Wallpaper::CenteredResize:
@@ -180,7 +179,6 @@
break;
case Wallpaper::MaxpectResize: {
- imgSize *= ratio;
float xratio = (float) size.width() / imgSize.width();
float yratio = (float) size.height() / imgSize.height();
if (xratio > yratio) {
@@ -197,7 +195,6 @@
break;
}
case Wallpaper::ScaledAndCroppedResize: {
- imgSize *= ratio;
float xratio = (float) size.width() / imgSize.width();
float yratio = (float) size.height() / imgSize.height();
if (xratio > yratio) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic