QSettings Windows documentation does not match behavior
authorThiago A. Correa <thiago.correa@gmail.com>
Fri, 5 Oct 2012 04:29:34 +0000 (01:29 -0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 5 Oct 2012 06:38:36 +0000 (08:38 +0200)
QSettings under windows adds "OrganizationDefaults" to the registry
key path when using QSettings::SystemScope.

commit ee2e497f1c8216a22ddea53ab5ae1fd09bfee363 missed the change
to HKEY_LOCAL_MACHINE

Task-number: QTBUG-27452

Change-Id: I561f4e57b5beda0f9a511de067eb17fc23e3c856
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/io/qsettings.cpp

index 44a1199..122fe9f 100644 (file)
@@ -2298,7 +2298,7 @@ void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile,
     \li \c{HKEY_CURRENT_USER\Software\MySoft\Star Runner}
     \li \c{HKEY_CURRENT_USER\Software\MySoft\OrganizationDefaults}
     \li \c{HKEY_LOCAL_MACHINE\Software\MySoft\Star Runner}
-    \li \c{HKEY_LOCAL_MACHINE\Software\MySoft}
+    \li \c{HKEY_LOCAL_MACHINE\Software\MySoft\OrganizationDefaults}
     \endlist
 
     \note On Windows, for 32-bit programs running in WOW64 mode, settings are