D20198: Don't lose list position after installing KNS cursor themes

Aleix Pol Gonzalez noreply at phabricator.kde.org
Thu Apr 4 20:03:21 BST 2019


apol added a comment.


  Otherwise makes sense to me.

INLINE COMMENTS

> kcmcursortheme.cpp:468
> +                    for (const QString& deleted : entry.uninstalledFiles()) {
> +                        QStringList list = deleted.split(QLatin1Char('/'));
> +                        if (list.last() == QLatin1Char('*')) {

Use splitRef if you're just taking the last one.

REPOSITORY
  R119 Plasma Desktop

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

To: leinir, #plasma, ngraham, broulik
Cc: apol, plasma-devel, #plasma, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190404/18cd3738/attachment.html>


More information about the Plasma-devel mailing list