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

List:       kde-commits
Subject:    [discover/Plasma/5.14] libdiscover: Make it a bit easier to debug when discover is also installed in
From:       Aleix Pol <null () kde ! org>
Date:       2018-09-27 13:39:46
Message-ID: E1g5WWA-0001MP-MI () code ! kde ! org
[Download RAW message or body]

Git commit acce2ef683ffa9fc7ea88b28f5fcc5a65cecf67a by Aleix Pol.
Committed on 27/09/2018 at 13:38.
Pushed by apol into branch 'Plasma/5.14'.

Make it a bit easier to debug when discover is also installed in the system

M  +1    -0    libdiscover/DiscoverBackendsFactory.cpp

https://commits.kde.org/discover/acce2ef683ffa9fc7ea88b28f5fcc5a65cecf67a

diff --git a/libdiscover/DiscoverBackendsFactory.cpp b/libdiscover/DiscoverBackendsFactory.cpp
index d5c161cc..65ef7794 100644
--- a/libdiscover/DiscoverBackendsFactory.cpp
+++ b/libdiscover/DiscoverBackendsFactory.cpp
@@ -90,6 +90,7 @@ QStringList DiscoverBackendsFactory::allBackendNames(bool whitelist, bool allowD
         }
     }
 
+    pluginNames.removeDuplicates(); //will happen when discover is installed twice on the system
     return pluginNames;
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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