File patch-r901203.diff of Package kdebase4

Subject: fix systemsettings wrongly write ~/.local/share/applications/mimeapps.list
From: wstephenson@suse.de
Bug: kde#178562
Patch-upstream: 901203
--- apps/nsplugins/pluginscan.cpp	(revision 901202)
+++ apps/nsplugins/pluginscan.cpp	(revision 901203)
@@ -403,7 +403,7 @@ void scanDirectory( const QString &dir,
               kDebug(1433) << " - type=" << *type;
               name = name.replace( ':', "%3A" );
 
-              QString entry = name + ':' + *type;
+              QString entry = name + ':' + (*type).trimmed();
               if ( !mimeInfoList.contains( entry ) ) {
                   if (!actuallyUsing) {
                       // note the plugin name
Index: apps/nsplugins/pluginscan.cpp
===================================================================