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

Typo in help text

    XMLWordPrintable

Details

    • 55c32b91a298d52bd7c29968d21b4b7a5ee741e4

    Description

      The help text on page "Qt 4.6: QSqlTableModel Class Reference" has the following example:

      QSqlTableModel model;
      model.setTable("employee");
      QString name = model.record(4).value("name").toString();

      The code snippet above extracts the salary field from record 4 in the result set of the query SELECT * from employee.

      – it looks to me like it extracts the "name" field...

      Attachments

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

        Activity

          People

            pyard Peter Yard (closed Nokia identity) (Inactive)
            rufusvs Rufus V. Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes