From 9e4e76d2f8156ead4dbec42820864fbb545b6cae Mon Sep 17 00:00:00 2001 From: "Thiago A. Correa" Date: Fri, 5 Oct 2012 01:29:34 -0300 Subject: [PATCH] QSettings Windows documentation does not match behavior 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 --- src/corelib/io/qsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qsettings.cpp b/src/corelib/io/qsettings.cpp index 44a11996cb..122fe9f512 100644 --- a/src/corelib/io/qsettings.cpp +++ b/src/corelib/io/qsettings.cpp @@ -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