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

Hidden columns in QTableView cause horizontal row lines to be drawn

    XMLWordPrintable

Details

    Description

      When all of a QTableView's columns are hidden, the table shows never-ending horizontal row lines.

      This is a regression as it only happens in Qt 4.3.3 but not in any previous version.

      Test case:

      QStandardItemModel *model = new QStandardItemModel(5,5);
      QTableView *view = new QTableView;
      view->setModel(model);

      for(int i=0; i<model->columnCount(); ++i)

      { view->hideColumn(i); }

      Attachments

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

        Activity

          People

            monsen Marius Bugge Monsen
            gpf Shane McLaughlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes