From 66f0e0272cb86b08699b79c1f3bc15d221366f0e Mon Sep 17 00:00:00 2001 From: David Faure Date: Tue, 4 Mar 2014 22:15:59 +0100 Subject: KCoreConfigSkeleton: delay parsing until the call to readConfig() --- src/core/kconfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/kconfig.h') diff --git a/src/core/kconfig.h b/src/core/kconfig.h index d27eebe7..5685ebdb 100644 --- a/src/core/kconfig.h +++ b/src/core/kconfig.h @@ -95,7 +95,8 @@ public: SimpleConfig = 0x00, ///< Just a single config file. NoCascade = IncludeGlobals, ///< Include user's globals, but omit system settings. NoGlobals = CascadeConfig, ///< Cascade to system settings, but omit user's globals. - FullConfig = IncludeGlobals | CascadeConfig ///< Fully-fledged config, including globals and cascading to system settings + FullConfig = IncludeGlobals | CascadeConfig, ///< Fully-fledged config, including globals and cascading to system settings + DelayedParsing = 0x04 ///< Do not parse in the constructor, require a call to reparseConfiguration }; Q_DECLARE_FLAGS(OpenFlags, OpenFlag) -- cgit v1.2.1