svg can be null; patch by Nikita Melnichenko
CCBUG:229668 svn path=/trunk/KDE/kdelibs/; revision=1100082
This commit is contained in:
parent
48c6fcbe8e
commit
0ad75a51db
@ -77,7 +77,9 @@ Svg *SvgWidget::svg() const
|
||||
|
||||
void SvgWidget::setElementID(const QString &elementID)
|
||||
{
|
||||
if (d->svg) {
|
||||
d->svg->setContainsMultipleImages(!elementID.isNull());
|
||||
}
|
||||
d->elementID = elementID;
|
||||
update();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user