QSettings Windows documentation does not match behavior
authorThiago A. Correa <thiago.correa@gmail.com>
Thu, 4 Oct 2012 21:09:29 +0000 (18:09 -0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 5 Oct 2012 01:16:45 +0000 (03:16 +0200)
QSettings under windows adds "OrganizationDefaults" to the registry
key path when using QSettings::SystemScope.

Change platform notes section to document this behavior.

Task-number: QTBUG-27452

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

index a57b10a..44a1199 100644 (file)
@@ -2296,7 +2296,7 @@ void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile,
 
     \list 1
     \li \c{HKEY_CURRENT_USER\Software\MySoft\Star Runner}
-    \li \c{HKEY_CURRENT_USER\Software\MySoft}
+    \li \c{HKEY_CURRENT_USER\Software\MySoft\OrganizationDefaults}
     \li \c{HKEY_LOCAL_MACHINE\Software\MySoft\Star Runner}
     \li \c{HKEY_LOCAL_MACHINE\Software\MySoft}
     \endlist