return the prefix that has ben set even if not avail

symmetricity++ between setelementprefix and prefix
This commit is contained in:
Marco Martin 2014-07-11 16:55:59 +02:00
parent c77b2bf9a8
commit 100b60a7fb

View File

@ -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)