summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:19:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:19:11 +0900
commit70c40350e9229353ae467c5ffafb4c23803c7a3f (patch)
treebb572196ecec6c2dd872e085f154b84779153778
parent345dee3cc6245bb0fc5f274d2384a472d2b7ead2 (diff)
downloadkcmautostart-master.tar.gz
kcmautostart-master.zip
Use TDESimpleConfigHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/autostart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autostart.cpp b/src/autostart.cpp
index 7345a94..fb2cc79 100644
--- a/src/autostart.cpp
+++ b/src/autostart.cpp
@@ -25,7 +25,7 @@
#include <tdelocale.h>
#include <tdeglobal.h>
#include <tdeparts/genericfactory.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdeglobalsettings.h>
#include <tdestandarddirs.h>
#include <kurlrequester.h>
@@ -242,7 +242,7 @@ void CAutostart::addCMD() {
}
else if ( service->desktopEntryName().isNull() ) {
desktopTemplate = KURL( TDEGlobalSettings::autostartPath() + service->name() + ".desktop" );
- KSimpleConfig ksc(desktopTemplate.path());
+ TDESimpleConfig ksc(desktopTemplate.path());
ksc.setGroup("Desktop Entry");
ksc.writeEntry("Encoding","UTF-8");
ksc.writeEntry("Exec",service->exec());