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 those lines :)
BUG:202538 svn path=/trunk/KDE/kdelibs/; revision=1007067
This commit is contained in:
parent
90d2021f8c
commit
959e54961e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user