QDebug is not marked as re-entrant or thread safe and seems to cause crashses for some when used from the wallpaper rendering threads, so let's just remove t

hose lines :)
CCBUG:202538

svn path=/branches/KDE/4.3/kdelibs/; revision=1007068
This commit is contained in:
Aaron J. Seigo 2009-08-05 04:49:56 +00:00
parent 52dc55f769
commit 7e39818ee2

View File

@ -135,7 +135,7 @@ void WallpaperRenderThread::run()
// otherwise, use the natural size of the loaded image
img = QImage(file);
imgSize = img.size();
kDebug() << "loaded with" << imgSize << ratio;
//kDebug() << "loaded with" << imgSize << ratio;
}
// if any of them is zero we may run into a div-by-zero below.
@ -229,7 +229,7 @@ void WallpaperRenderThread::run()
}
QPainter p(&result);
kDebug() << token << scalable << scaledSize << imgSize;
//kDebug() << token << scalable << scaledSize << imgSize;
if (scalable) {
// tiling is ignored for scalable wallpapers
QSvgRenderer svg(file);