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

QTableWidget::item(row, col) returns wrong item in stead of NULL if given col does not exists

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.7.0, 4.8.0
    • Widgets: Itemviews
    • None
    • Windows
      Ubuntu 12.04

    Description

      If table widget has been query to get the QTablewidgetItem of given row and column and if that column does not exists, instead of returning NULL QTableWidget::item(row,col) returns wrong item.
      Attached is the example code which demonstrate this behavior.

      Attachments

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

        Activity

          People

            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            irfan.omair@gmail.com irfan B omair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes