A bug in documentation
-
Hello all,
I couldn't see how to report a bug in documentation but I guess I have spotted a bug in the code provided in "Model/View Programming":http://qt-project.org/doc/qt-4.8/model-view-programming.html#view-classes. The code given :
@int main(int argc, char *argv[])
{
QApplication app(argc, argv);// Unindented for quoting purposes:
QStringList numbers;
numbers << "One" << "Two" << "Three" << "Four" << "Five";QAbstractItemModel *model = new StringListModel(numbers);
@I think StringListModel should be QStringListModel.
-
welcome to devnet
For bug tracking you should use "JIRA":https://bugreports.qt-project.org/secure/Dashboard.jspa . It is for library and documentation bugs.
Posting is certainly not a bad thing, but it is not ensured that discovered issues will be followed up.
When you have a bug, it is always good to post a link to the report. This ensures that others are getting aware, that issue has been reported and they can vote for it.
-
Thanks for your reply,
Following your post, I have created a bug report for this issue "Bug Report 27432":https://bugreports.qt-project.org/browse/QTBUG-27432