summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-01 22:43:48 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-01 22:43:48 (GMT)
commitb52bfac9d05de835682b9c2b2e1d79e0246e708a (patch)
tree456eb1b84771bb619877a9765bb9e431a073eb0b /doc/src/snippets
parent93906071c31a5008625e727dad530a6f05441baa (diff)
parentadd57539ec7cd24346e26b22a5298da50d81e91b (diff)
downloadQt-b52bfac9d05de835682b9c2b2e1d79e0246e708a.zip
Qt-b52bfac9d05de835682b9c2b2e1d79e0246e708a.tar.gz
Qt-b52bfac9d05de835682b9c2b2e1d79e0246e708a.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into kinetic-declarativeui
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/src_corelib_io_qsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/src_corelib_io_qsettings.cpp b/doc/src/snippets/code/src_corelib_io_qsettings.cpp
index 12a204b..c380d19 100644
--- a/doc/src/snippets/code/src_corelib_io_qsettings.cpp
+++ b/doc/src/snippets/code/src_corelib_io_qsettings.cpp
@@ -309,7 +309,7 @@ int main(int argc, char *argv[])
const QSettings::Format XmlFormat =
QSettings::registerFormat("xml", readXmlFile, writeXmlFile);
- QSettings settings(XmlFormat, QSettings::UserSettings, "MySoft",
+ QSettings settings(XmlFormat, QSettings::UserScope, "MySoft",
"Star Runner");
...