summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch')
-rw-r--r--redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch b/redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
new file mode 100644
index 000000000..2c9c88368
--- /dev/null
+++ b/redhat/tdelibs/tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
@@ -0,0 +1,13 @@
+diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp
+index 67031d0..a4c67f3 100644
+--- a/kio/kio/kservice.cpp
++++ b/kio/kio/kservice.cpp
+@@ -103,7 +103,7 @@ KService::init( KDesktopFile *config )
+ // extract prefix
+ kde4applicationprefix = config->fileName();
+ int pos = kde4applicationprefix.find("/share/applications/kde4/");
+- kde4applicationprefix.truncate(pos-1);
++ kde4applicationprefix.truncate(pos);
+ }
+
+ config->setDesktopGroup();