Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. A bug in documentation

A bug in documentation

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hkaraoguz
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      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.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hkaraoguz
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved