|
|
|
@ -277,7 +277,7 @@ KioskRun::setupConfigEnv()
|
|
|
|
|
m_configDir = TQString("%1/.trinity/share/config/").arg(m_homeDir);
|
|
|
|
|
|
|
|
|
|
m_instance = new TDEInstance("kioskrun");
|
|
|
|
|
(void) m_instance->dirs(); // Create KStandardDirs obj
|
|
|
|
|
(void) m_instance->dirs(); // Create TDEStandardDirs obj
|
|
|
|
|
|
|
|
|
|
m_desktopPath = m_homeDir + "/Desktop/";
|
|
|
|
|
m_desktopPath = m_instance->config()->readPathEntry( "Desktop", m_desktopPath);
|
|
|
|
@ -292,7 +292,7 @@ KioskRun::setupConfigEnv()
|
|
|
|
|
SetEnv xdgConfigHome("XDG_CONFIG_HOME", m_xdgConfigDirs.first());
|
|
|
|
|
|
|
|
|
|
m_saveInstance = new TDEInstance("kioskrun");
|
|
|
|
|
(void) m_saveInstance->dirs(); // Create KStandardDirs obj
|
|
|
|
|
(void) m_saveInstance->dirs(); // Create TDEStandardDirs obj
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -746,7 +746,7 @@ KioskRun::setupRuntimeEnv()
|
|
|
|
|
TQString cacheDir = TQString("%1/.trinity/cache-%2").arg(m_homeDir).arg(hostname);
|
|
|
|
|
|
|
|
|
|
deleteDir(cacheDir);
|
|
|
|
|
KStandardDirs::makeDir(cacheDir);
|
|
|
|
|
TDEStandardDirs::makeDir(cacheDir);
|
|
|
|
|
deleteDir(m_homeDir+"/.qt");
|
|
|
|
|
::unlink(TQFile::encodeName(m_homeDir+".kderc"));
|
|
|
|
|
|
|
|
|
|