restore the svg size, oops

svn path=/trunk/KDE/kdelibs/; revision=900801
This commit is contained in:
Marco Martin 2008-12-23 16:41:34 +00:00
parent d1e083f211
commit 0ea6365356

View File

@ -137,6 +137,7 @@ public:
QSize imageSize = image->size(); QSize imageSize = image->size();
image->resize(); image->resize();
QSize tileSize = image->elementSize("bar-active-center"); QSize tileSize = image->elementSize("bar-active-center");
image->resize(imageSize);
if (elementRect.width() > elementRect.height()) { if (elementRect.width() > elementRect.height()) {
qreal ratio = tileSize.height() / tileSize.width(); qreal ratio = tileSize.height() / tileSize.width();