summaryrefslogtreecommitdiffstats
path: root/tdecore/tde-config.cpp.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-18 17:43:28 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-18 17:43:28 -0500
commite3e8bf702f89feed2a943818d3fde6a593938d51 (patch)
tree8675ebca40d208b4631731ea525e208ea985afd4 /tdecore/tde-config.cpp.cmake
parentd3a9d56143cf668c7d29b26a324a424d02036371 (diff)
downloadtdelibs-e3e8bf702f89feed2a943818d3fde6a593938d51.tar.gz
tdelibs-e3e8bf702f89feed2a943818d3fde6a593938d51.zip
Fix tde-config creating profile directory when CMake is used to compile tdelibs
Remove spurious tde-config warning message that confused Autotools
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();