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

List:       kde-commits
Subject:    [plasma-desktop] kcms/baloo: baloo kcm: Fix duplicate paths in config file.
From:       Andreas Hartmetz <null () kde ! org>
Date:       2018-09-27 18:01:38
Message-ID: E1g5aba-0003EB-0T () code ! kde ! org
[Download RAW message or body]

Git commit 226c914040ad0c8aa09c78c1f3883c986db182aa by Andreas Hartmetz, on=
 behalf of James D. Smith.
Committed on 27/09/2018 at 16:33.
Pushed by ahartmetz into branch 'master'.

baloo kcm: Fix duplicate paths in config file.

M  +1    -1    kcms/baloo/folderselectionwidget.cpp

https://commits.kde.org/plasma-desktop/226c914040ad0c8aa09c78c1f3883c986db1=
82aa

diff --git a/kcms/baloo/folderselectionwidget.cpp b/kcms/baloo/folderselect=
ionwidget.cpp
index e8a4c5eb..e85cb3f1 100644
--- a/kcms/baloo/folderselectionwidget.cpp
+++ b/kcms/baloo/folderselectionwidget.cpp
@@ -121,7 +121,7 @@ void FolderSelectionWidget::setDirectoryList(QStringLis=
t includeDirs, QStringLis
         if (exclude.contains(mountPath))
             continue;
 =

-        if (!excludeList.contains(mountPath)) {
+        if (!excludeList.contains(mountPath))
             excludeList << mountPath;
         }
     }

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

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