[amarok] src: Fix typo in plugin query string. Missing space.

Bart Cerneels bart.cerneels at kde.org
Thu Aug 16 11:58:07 UTC 2012


Git commit 66d5746e5086ac6667ebc8ad255cf6d6df9f6aab by Bart Cerneels.
Committed on 16/08/2012 at 08:57.
Pushed by shanachie into branch 'master'.

Fix typo in plugin query string. Missing space.

Not sure how/why this worked before. Can anyone familiar with KDE plugin
explain. Are we even doing it correctly?

CCMAIL:amarok-devel at kde.org

M  +2    -1    src/PluginManager.cpp

http://commits.kde.org/amarok/66d5746e5086ac6667ebc8ad255cf6d6df9f6aab

diff --git a/src/PluginManager.cpp b/src/PluginManager.cpp
index d5dc83c..baa9c2e 100644
--- a/src/PluginManager.cpp
+++ b/src/PluginManager.cpp
@@ -221,7 +221,8 @@ Plugins::PluginManager::findAllPlugins()
 {
     DEBUG_BLOCK
     QString query = QString::fromLatin1( "[X-KDE-Amarok-framework-version] == %1"
-                                         "and [X-KDE-Amarok-rank] > 0" ).arg( s_pluginFrameworkVersion );
+                                         " and [X-KDE-Amarok-rank] > 0" )
+                    .arg( s_pluginFrameworkVersion );
 
     KConfigGroup pluginsConfig = Amarok::config(QLatin1String("Plugins"));
     KService::List services = KServiceTypeTrader::self()->query( "Amarok/Plugin", query );



More information about the Amarok-devel mailing list