diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-08-03 01:12:58 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-08-03 01:12:58 (GMT) |
commit | 37cdd053623bfadded77ba6ad34e0d4c45158cc7 (patch) | |
tree | 617405ca766424810ef55c2cfcfd20cf2f560517 | |
parent | 98bb5c8cbdef20d060c45a399068580eacf93ae4 (diff) | |
parent | 9ce6d885f4c141fabce1427ff776e02bdb6846ae (diff) | |
download | Qt-37cdd053623bfadded77ba6ad34e0d4c45158cc7.zip Qt-37cdd053623bfadded77ba6ad34e0d4c45158cc7.tar.gz Qt-37cdd053623bfadded77ba6ad34e0d4c45158cc7.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
-rw-r--r-- | doc/src/snippets/code/src_corelib_tools_qlistdata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/snippets/code/src_corelib_tools_qlistdata.cpp b/doc/src/snippets/code/src_corelib_tools_qlistdata.cpp index 7d75e1b..3b9a756 100644 --- a/doc/src/snippets/code/src_corelib_tools_qlistdata.cpp +++ b/doc/src/snippets/code/src_corelib_tools_qlistdata.cpp @@ -190,10 +190,10 @@ QVector<QString> vect = list.toVector(); //! [23] -QSet<double> set; -set << 20.0 << 30.0 << 40.0 << ... << 70.0; +QSet<int> set; +set << 20 << 30 << 40 << ... << 70; -QList<double> list = QList<double>::fromSet(set); +QList<int> list = QList<int>::fromSet(set); qSort(list); //! [23] |