d->prefix is always guaranteed to be in d->frames
svn path=/trunk/KDE/kdelibs/; revision=1044540
This commit is contained in:
parent
7751044026
commit
2cd3295e69
@ -239,7 +239,7 @@ void FrameSvg::getMargins(qreal &left, qreal &top, qreal &right, qreal &bottom)
|
||||
{
|
||||
FrameData *frame = d->frames[d->prefix];
|
||||
|
||||
if (!frame || frame->noBorderPadding) {
|
||||
if (frame->noBorderPadding) {
|
||||
left = top = right = bottom = 0;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user