summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-07-31 09:07:13 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-07-31 09:07:13 (GMT)
commit1a7286691a74016a0577073275fc462aea2fe1bc (patch)
tree105d0c6732d2afff4a6649ad634159b2f52236fd /doc/src/snippets/code
parent18fbfdf0f774198e2e1277e064cc3a8eb9dbb29d (diff)
downloadQt-1a7286691a74016a0577073275fc462aea2fe1bc.zip
Qt-1a7286691a74016a0577073275fc462aea2fe1bc.tar.gz
Qt-1a7286691a74016a0577073275fc462aea2fe1bc.tar.bz2
Doc: Fixed a snippet bug in QFileInfo
Task-number: 258371 Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/snippets/code')
-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 2ab15ee..89b4f33 100644
--- a/doc/src/snippets/code/src_corelib_io_qfileinfo.cpp
+++ b/doc/src/snippets/code/src_corelib_io_qfileinfo.cpp
@@ -13,9 +13,9 @@ info1.size(); // returns 56201
info1.symLinkTarget(); // returns "/opt/pretty++/bin/untabify"
QFileInfo info2(info1.symLinkTarget());
-info1.isSymLink(); // returns false
-info1.absoluteFilePath(); // returns "/opt/pretty++/bin/untabify"
-info1.size(); // returns 56201
+info2.isSymLink(); // returns false
+info2.absoluteFilePath(); // returns "/opt/pretty++/bin/untabify"
+info2.size(); // returns 56201
#endif
//! [0]