D21174: FrameSvg: make hasElementPrefix() also handle prefix with trailing -

Aleix Pol Gonzalez noreply at phabricator.kde.org
Mon May 13 15:32:42 BST 2019


apol added inline comments.

INLINE COMMENTS

> kossebau wrote in framesvg.cpp:150
> How would you use the `else`? Not yet with you what you mean here,

if (prefix.endsWith(QLatin1Char('-'))) {
      return hasElement(prefix % QLatin1String("center"));
  } else
      return hasElement(prefix % QLatin1String("-center"));

REPOSITORY
  R242 Plasma Framework (Library)

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

To: kossebau, #plasma
Cc: apol, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190513/0ce673cb/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list