summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kcmautostart/kcmautostart-3.5.13-ftbfs.patch
blob: fae431e6637d76b989ef15d59c5ccbde3cad35b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- kcmautostart.ORI/src/autostart.cpp	2012-05-10 11:36:44.887288951 +0200
+++ kcmautostart.P/src/autostart.cpp	2012-05-10 11:37:16.701639283 +0200
@@ -88,10 +88,10 @@
       path = kgs->autostartPath()+"/";
       break;
     case Shutdown:
-      path = ksd->localtdedir()+"shutdown/";
+      path = ksd->localkdedir()+"shutdown/";
       break;
     case ENV:
-      path = ksd->localtdedir()+"env/";
+      path = ksd->localkdedir()+"env/";
       break;
   }
   KIO::file_move(fileName, KURL( path + fileName.fileName() ));
@@ -190,9 +190,9 @@
     if (x==0)
       path = kgs->autostartPath();
     else if (x==1)
-      path = ksd->localtdedir() + "/shutdown";
+      path = ksd->localkdedir() + "/shutdown";
     else if (x==2)
-      path = ksd->localtdedir() + "/env";
+      path = ksd->localkdedir() + "/env";
 
     if (! KStandardDirs::exists(path))
       KStandardDirs::makeDir(path);