[Differential] [Commented On] D4827: possibility to use a fallback chain as prefix

Marco Martin noreply at phabricator.kde.org
Mon Feb 27 17:46:56 UTC 2017


mart added inline comments.

INLINE COMMENTS

> davidedmundson wrote in framesvgitem.cpp:571-574
> this !found is a behavioural change on the existing code.
> 
> Why are we adding it?

before it did set the elementprefix on the framesvg regardless it was present or not, so this is done in order precisely to not do a behavioral change.

to be more exact to be sure no behavioral change occurred at all, i would have to do

if (!found) {

  m_frameSvg->setElementPrefix(m_prefixes.last());

}

which if doesn't exist, is pretty much the same as setting an empty string, but i can change it to do so

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D4827

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma, davidedmundson
Cc: davidedmundson, broulik, plasma-devel, #frameworks, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170227/4bda7007/attachment.html>


More information about the Kde-frameworks-devel mailing list