summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-01 15:26:00 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-01 15:28:02 (GMT)
commit4a7912195beca671c562f5f1f9c60c2fc2585166 (patch)
treeb4da8838f1659a5ff2e82db0762df90938cea455
parentcd027ea513ce57939964ee23b522eb1a7c4f9a6c (diff)
downloadQt-4a7912195beca671c562f5f1f9c60c2fc2585166.zip
Qt-4a7912195beca671c562f5f1f9c60c2fc2585166.tar.gz
Qt-4a7912195beca671c562f5f1f9c60c2fc2585166.tar.bz2
Tiny doc fix spotted by panter_dsd.
Reviewed-by: trustme
-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");
...