return the prefix that has ben set even if not avail
symmetricity++ between setelementprefix and prefix
This commit is contained in:
parent
c77b2bf9a8
commit
100b60a7fb
@ -314,11 +314,7 @@ bool FrameSvg::hasElementPrefix(Plasma::Types::Location location) const
|
||||
|
||||
QString FrameSvg::prefix()
|
||||
{
|
||||
if (d->prefix.isEmpty()) {
|
||||
return d->prefix;
|
||||
}
|
||||
|
||||
return d->prefix.left(d->prefix.size() - 1);
|
||||
return d->requestedPrefix;
|
||||
}
|
||||
|
||||
void FrameSvg::resizeFrame(const QSizeF &size)
|
||||
|
Loading…
Reference in New Issue
Block a user