[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [baloo] src/kioslaves/tags: [tags_kio] Remove intermediate QString.
From:       James D. Smith <null () kde ! org>
Date:       2018-09-24 0:27:03
Message-ID: E1g4EiN-0002Cf-KA () code ! kde ! org
[Download RAW message or body]

Git commit 4e3c769bd62729643174aa531778d5f6a25d5896 by James D. Smith.
Committed on 24/09/2018 at 00:26.
Pushed by smithjd into branch 'master'.

[tags_kio] Remove intermediate QString.

M  +1    -1    src/kioslaves/tags/kio_tags.cpp

https://commits.kde.org/baloo/4e3c769bd62729643174aa531778d5f6a25d5896

diff --git a/src/kioslaves/tags/kio_tags.cpp b/src/kioslaves/tags/kio_tags.cpp
index 27ecf1e9..910dba97 100644
--- a/src/kioslaves/tags/kio_tags.cpp
+++ b/src/kioslaves/tags/kio_tags.cpp
@@ -235,7 +235,7 @@ void TagsProtocol::del(const QUrl& url, bool isfile)
                 } else if (result.fileUrl.isEmpty()) {
                     const auto tags = md.tags();
                     for (const QString &tag : tags) {
-                        if ((tag == result.tag) || \
(tag.startsWith(QString(result.tag + QLatin1Char('/')), Qt::CaseInsensitive))) { +    \
if ((tag == result.tag) || (tag.startsWith(result.tag + QLatin1Char('/')), \
Qt::CaseInsensitive)) {  rewriteTags(md, tag);
                         }
                     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic