Commit 24e6d158 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Don't set ResizeToContents if stretch is applied

Doesn't seem to make any difference in performance, but doesn't make
much sense either.
parent a409d0eb
......@@ -67,7 +67,7 @@ public:
{
QHeaderView *treeHeader = header();
treeHeader->setVisible(false);
treeHeader->setResizeMode(QHeaderView::ResizeToContents);
treeHeader->setResizeMode(QHeaderView::Stretch);
treeHeader->setStretchLastSection(true);
}
setContextMenuPolicy(Qt::CustomContextMenu);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment