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

List:       kde-commits
Subject:    [plasma-workspace/Plasma/5.8] libtaskmanager: Fixed detection of the duplicate launchers
From:       Ivan Čukić <ivan.cukic () kde ! org>
Date:       2016-09-28 16:32:17
Message-ID: E1bpHmL-0002qY-Vg () code ! kde ! org
[Download RAW message or body]

Git commit 6860b2442862d2b76e1021faf58c2c69ff005763 by Ivan Čukić.
Committed on 28/09/2016 at 16:32.
Pushed by ivan into branch 'Plasma/5.8'.

Fixed detection of the duplicate launchers

M  +1    -0    libtaskmanager/launchertasksmodel.cpp

http://commits.kde.org/plasma-workspace/6860b2442862d2b76e1021faf58c2c69ff005763

diff --git a/libtaskmanager/launchertasksmodel.cpp b/libtaskmanager/launchertasksmodel.cpp
index 1c27eea..0448ec6 100644
--- a/libtaskmanager/launchertasksmodel.cpp
+++ b/libtaskmanager/launchertasksmodel.cpp
@@ -178,6 +178,7 @@ void LauncherTasksModel::setLauncherList(const QStringList &launchers)
 
             foreach(const QUrl &addedUrl, urls) {
                 dupe = launcherUrlsMatch(url, addedUrl, IgnoreQueryItems);
+                if (dupe) break;
             }
 
             if (!dupe) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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