Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23999 Qt should build with QT_DEPRECATED_SINCE(5, 0) defined
  3. QTBUG-25419

QSqlQueryModel::setQuery make use of deprecated method

    XMLWordPrintable

Details

    • 83c9ebbd6692cde99ee692e6549c591100f12545

    Description

      QSqlQueryModel::setQuery uses the deprecated QAbstractItemModel::reset()
      It must be split into beginResetModel() and endResetModel().
      It is not obvious how to do that. The cde is not clear and it seems that the model is reset even if cases it should not be.
      (There is no point calling begin/endRemoveRows if the model is going to be reset in the next line)

      Attachments

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

        Activity

          People

            mabrand Mark Brand
            ogoffart Olivier Goffart (Woboq GmbH)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes