From 6860b2442862d2b76e1021faf58c2c69ff005763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=C4=8Cuki=C4=87?= Date: Wed, 28 Sep 2016 18:04:13 +0200 Subject: [PATCH] Fixed detection of the duplicate launchers --- libtaskmanager/launchertasksmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libtaskmanager/launchertasksmodel.cpp b/libtaskmanager/launchertasksmodel.cpp index 1c27eea99..0448ec6b9 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) {