summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-05-20 11:24:25 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-05-20 11:24:25 (GMT)
commit1ee923a21c270094203c5d2a861a8015598ceda1 (patch)
treed53b292eabb1fc565840153d8f5efb3c3b2afd52 /src/corelib/kernel/qvariant.cpp
parent4e4ff34e3c4c905f17aa02160a17fdb7b9ad61ed (diff)
parent691e83425ac5883922837bc5fd1efb5385db9871 (diff)
downloadQt-1ee923a21c270094203c5d2a861a8015598ceda1.zip
Qt-1ee923a21c270094203c5d2a861a8015598ceda1.tar.gz
Qt-1ee923a21c270094203c5d2a861a8015598ceda1.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Conflicts: doc/src/stylesheet.qdoc
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
-rw-r--r--src/corelib/kernel/qvariant.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp
index b53e91f..b504604 100644
--- a/src/corelib/kernel/qvariant.cpp
+++ b/src/corelib/kernel/qvariant.cpp
@@ -1173,8 +1173,9 @@ const QVariant::Handler *QVariant::handler = &qt_kernel_variant_handler;
and versatile, but may prove less memory and speed efficient than
storing specific types in standard data structures.
- QVariant also supports the notion of null values, where you have
- a defined type with no value set.
+ QVariant also supports the notion of null values, where you can
+ have a defined type with no value set. However, note that QVariant
+ types can only be cast when they have had a value set.
\snippet doc/src/snippets/code/src_corelib_kernel_qvariant.cpp 1