Mistake in QT DOC ?
-
Hello community,
I stumbled over a mistake I asume: "see here":http://doc.qt.nokia.com/4.7-snapshot/qvector.html#toList
@
QVector<double> vect;
vect << "red" << "green" << "blue" << "black";QList<double> list = vect.toList();
// list: ["red", "green", "blue", "black"]
@I guess that should be QString instead of double ? Might be confusing for newbies...
I don't know, where to contact the webmasters...
Cheers Murat
-
Of course it's a mistake. You can
- file a bug in Jira http://bugreports.qt.nokia.com/
- fix the issue yourself and submit a merge request
- ... add a docnote here http://developer.qt.nokia.com/doc/qt-4.7/qvector.html
-