summaryrefslogtreecommitdiffstats
path: root/tdecore/tde-config.cpp.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tde-config.cpp.cmake')
-rw-r--r--tdecore/tde-config.cpp.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdecore/tde-config.cpp.cmake b/tdecore/tde-config.cpp.cmake
index 62af1a0fa..0afbd9422 100644
--- a/tdecore/tde-config.cpp.cmake
+++ b/tdecore/tde-config.cpp.cmake
@@ -120,6 +120,7 @@ int main(int argc, char **argv)
KCmdLineArgs::addCmdLineOptions( options ); // Add my own options.
KInstance a("tde-config");
+ a.setConfigReadOnly(TRUE);
(void)KGlobal::dirs(); // trigger the creation
(void)KGlobal::config();