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

Incorrect code suggestion for the use of QSqlTableModel

    XMLWordPrintable

Details

    Description

      In the documentation for QSqlTableModel it is suggested that model->removeColumn(0) is used to "hide" the ID

      Really view->setColumnHidden should be used to hide columns

      Attachments

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

        Activity

          People

            teemukat Teemu Katajisto (Inactive)
            ndastur Neville Dastur
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes