restore the svg size, oops
svn path=/trunk/KDE/kdelibs/; revision=900801
This commit is contained in:
parent
d1e083f211
commit
0ea6365356
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user