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

Bug in example

XMLWordPrintable

    • Change-Id: I6f2d4c18e1fb33ee369ebc75f501e524e8e63615

      bad range checking in:

      QVariant AnimalModel::data(const QModelIndex & index, int role) const {
      if (index.row() < 0 || index.row() > m_animals.count())
      return QVariant();

      Example: AbstractItemModel for QtDeclarative module

        For Gerrit Dashboard: QTBUG-23574
        # Subject Branch Project Status CR V

            mvogt Matthew Vogt (closed Nokia identity) (Inactive)
            zygmunt Zygmunt Ptak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes