Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10479

Pixelator example: incorrect sentences about constructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.7.0
    • Documentation
    • None
    • c1760352caf33390592ccf5f8eb3401e10aea143

    Description

      The documentation for the "Pixelator Example", in the "ImageModel Class Definition" section, states:

      "For convenience, the image to be used is passed in the constructor."

      But looking at the example code, the constructor has the following definition:

      ImageModel(QObject *parent = 0);

      And there exists a setImage() method, so I'd say that the image is not passed in the constructor. That sentence should be removed from the documentation.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            boddie David Boddie (Inactive)
            naproxeno Álvaro Manuel Recio Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes