Skip to content
Snippets Groups Projects
Commit d4f51c10 authored by Lars Bilke's avatar Lars Bilke
Browse files

Use setSectionResizeMode instead of setResizeMode.

parent f750a7a8
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ VtkVisPipelineView::VtkVisPipelineView( QWidget* parent /*= 0*/ )
CheckboxDelegate* checkboxDelegate = new CheckboxDelegate(this);
this->setItemDelegateForColumn(1, checkboxDelegate);
this->header()->setStretchLastSection(false);
this->header()->setResizeMode(QHeaderView::ResizeToContents);
this->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
}
void VtkVisPipelineView::setModel(QAbstractItemModel* model)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment