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

QSqlTableModel::insertRecord - row is negative always false

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      my bad

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes