summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-09-08 13:19:17 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-09-08 13:20:17 (GMT)
commit38b5e603ede02cfabba6ac845793cc4d28f484db (patch)
treefb128f74dac76cfc77d1d8d8ca9556c62a4e363d /doc/src/snippets
parent7c9dc76f67fd662077f3f28f3f9313e2a07987d2 (diff)
downloadQt-38b5e603ede02cfabba6ac845793cc4d28f484db.zip
Qt-38b5e603ede02cfabba6ac845793cc4d28f484db.tar.gz
Qt-38b5e603ede02cfabba6ac845793cc4d28f484db.tar.bz2
Doc: fixing a QFileInfo snippet type
Task-number: 258371
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/src_corelib_io_qfileinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/snippets/code/src_corelib_io_qfileinfo.cpp b/doc/src/snippets/code/src_corelib_io_qfileinfo.cpp
index f01757a..d2096cf 100644
--- a/doc/src/snippets/code/src_corelib_io_qfileinfo.cpp
+++ b/doc/src/snippets/code/src_corelib_io_qfileinfo.cpp
@@ -72,9 +72,9 @@ info1.size(); // returns 743
info1.symLinkTarget(); // returns "C:/Pretty++/untabify"
QFileInfo info2(info1.symLinkTarget());
-info1.isSymLink(); // returns false
-info1.absoluteFilePath(); // returns "C:/Pretty++/untabify"
-info1.size(); // returns 63942
+info2.isSymLink(); // returns false
+info2.absoluteFilePath(); // returns "C:/Pretty++/untabify"
+info2.size(); // returns 63942
#endif
//! [1]