summaryrefslogtreecommitdiffstats
path: root/tdecmshell/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-04-04 00:43:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-04-04 00:49:48 +0900
commit6d314e143a38c76ec2ebb0e86e13c04fc54d5f87 (patch)
tree421d21e814cef15bf8bfcd12cf98cf40fe85ad17 /tdecmshell/main.cpp
parent51411c5022e4506b632a377614ee66fee472bf9b (diff)
downloadtdelibs-6d314e143a38c76ec2ebb0e86e13c04fc54d5f87.tar.gz
tdelibs-6d314e143a38c76ec2ebb0e86e13c04fc54d5f87.zip
Fixed tde branding of services in tdebuildsycoca. This was creating old
kde-* entries in profilerc when updating file type preferences. This relates to bug 3083. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9cd27dbaa3e866ab5befdbcaadddf13b34e7b0bf)
Diffstat (limited to 'tdecmshell/main.cpp')
-rw-r--r--tdecmshell/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecmshell/main.cpp b/tdecmshell/main.cpp
index 20ef629d9..a99c4b545 100644
--- a/tdecmshell/main.cpp
+++ b/tdecmshell/main.cpp
@@ -103,8 +103,8 @@ static KService::Ptr locateModule(const TQCString& module)
}
// avoid finding random non-TDE applications
- if ( module.left( 4 ) != "kde-" && service->library().isEmpty() )
- return locateModule( "kde-" + module );
+ if ( module.left( 4 ) != "tde-" && service->library().isEmpty() )
+ return locateModule( "tde-" + module );
if(!TDECModuleLoader::testModule( module ))
{