From 100b60a7fb135dac23dc74cb96056d1fce191a00 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 11 Jul 2014 16:55:59 +0200 Subject: [PATCH] return the prefix that has ben set even if not avail symmetricity++ between setelementprefix and prefix --- src/plasma/framesvg.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plasma/framesvg.cpp b/src/plasma/framesvg.cpp index c01051b5a..acc2ffd1a 100644 --- a/src/plasma/framesvg.cpp +++ b/src/plasma/framesvg.cpp @@ -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)