anoter case of useless warnings
svn path=/trunk/KDE/kdelibs/; revision=907540
This commit is contained in:
parent
744f3ef721
commit
f9abcd96e4
@ -165,6 +165,8 @@ public:
|
||||
//be retrocompatible with themes for kde <= 4.1
|
||||
if (image->hasElement("background-center")) {
|
||||
QRectF elementRect = barRect();
|
||||
if (elementRect.isEmpty())
|
||||
return; // nothing to be done
|
||||
QSize imageSize = image->size();
|
||||
image->resize();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user