From d3a9d56143cf668c7d29b26a324a424d02036371 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 15 May 2012 14:10:16 -0500 Subject: Add the ability to force read-only configuration file access in a TDE application Force tde-config to use read-only access This closes Bug 293 --- tdecore/tde-config.cpp.in | 1 + 1 file changed, 1 insertion(+) (limited to 'tdecore/tde-config.cpp.in') diff --git a/tdecore/tde-config.cpp.in b/tdecore/tde-config.cpp.in index 90c5dae89..c988b000e 100644 --- a/tdecore/tde-config.cpp.in +++ b/tdecore/tde-config.cpp.in @@ -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(); -- cgit v1.2.1