summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2010-08-30 15:53:48 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2010-08-30 15:53:48 (GMT)
commit8b2fdaf81ed4c52a75fe3a160c20f76a4eaf1d2b (patch)
treeea6de85c9fee2cc7e1ece555793b2483177fb6cf /doc/src/snippets
parentbe69c316c56379d2b955491ffc54754018079dec (diff)
downloadQt-8b2fdaf81ed4c52a75fe3a160c20f76a4eaf1d2b.zip
Qt-8b2fdaf81ed4c52a75fe3a160c20f76a4eaf1d2b.tar.gz
Qt-8b2fdaf81ed4c52a75fe3a160c20f76a4eaf1d2b.tar.bz2
Fixed spelling, broken links, and missing default values.
Tasks: QTBUG-13271, QTBUG-13212, QTBUG-12321 Reviewer: David Boddie
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/src_corelib_kernel_qvariant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/src_corelib_kernel_qvariant.cpp b/doc/src/snippets/code/src_corelib_kernel_qvariant.cpp
index fd3f5d2..472c90e 100644
--- a/doc/src/snippets/code/src_corelib_kernel_qvariant.cpp
+++ b/doc/src/snippets/code/src_corelib_kernel_qvariant.cpp
@@ -101,7 +101,7 @@ QVariant v;
MyCustomStruct c;
if (v.canConvert<MyCustomStruct>())
- c = v.value<MyCustomStruct>(v);
+ c = v.value<MyCustomStruct>();
v = 7;
int i = v.value<int>(); // same as v.toInt()