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

QSqlTableModel::insertRecord - row is negative always false

XMLWordPrintable

    • macOS
    • my bad

      bool QSqlTableModel::insertRecord(int row, const QSqlRecord &record)

      Inserts the record at position row. If row is negative, the record will be appended to the end. Calls insertRows() and setRecord() internally.

       

      Problem: row is negative, set -1 always return false. But set 0 is okay.

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

            dfaure_kdab David Faure
            gilbertwalker339 Gilbert Walker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes