make resize() work even after createRenderer() has been called once

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719392
This commit is contained in:
Aaron J. Seigo 2007-10-01 05:31:32 +00:00
parent 55969fd88b
commit 3817a54b50

View File

@ -254,6 +254,7 @@ void Svg::resize( const QSizeF& size )
void Svg::resize()
{
d->createRenderer();
d->size = d->renderer->defaultSize();
}
QSize Svg::elementSize(const QString& elementId) const