summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Yard <peter.yard@nokia.com>2010-12-22 06:03:35 (GMT)
committerPeter Yard <peter.yard@nokia.com>2010-12-22 06:03:35 (GMT)
commit55c32b91a298d52bd7c29968d21b4b7a5ee741e4 (patch)
tree09f6d154989dad900f687b2988bd406e32064d69
parent044708cb7f7fd1f2d7b18d20269422e7f3a1cb83 (diff)
downloadQt-55c32b91a298d52bd7c29968d21b4b7a5ee741e4.zip
Qt-55c32b91a298d52bd7c29968d21b4b7a5ee741e4.tar.gz
Qt-55c32b91a298d52bd7c29968d21b4b7a5ee741e4.tar.bz2
Docs: QTBUG-9150 Incorrect snippet in class doc.
-rw-r--r--src/sql/models/qsqltablemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/models/qsqltablemodel.cpp b/src/sql/models/qsqltablemodel.cpp
index 8589163..974cf7b 100644
--- a/src/sql/models/qsqltablemodel.cpp
+++ b/src/sql/models/qsqltablemodel.cpp
@@ -265,7 +265,7 @@ QSqlRecord QSqlTableModelPrivate::primaryValues(int row)
QSqlTableModel can also be used to access a database
programmatically, without binding it to a view:
- \snippet doc/src/snippets/sqldatabase/sqldatabase.cpp 25
+ \snippet doc/src/snippets/sqldatabase/sqldatabase.cpp 21
The code snippet above extracts the \c salary field from record 4 in
the result set of the query \c{SELECT * from employee}.