Navigation Tree View: Fix width of column

We want to have the width both to be at least the contents size
but also stretch to width of the viewport.

Reviewed-By: con
This commit is contained in:
dt
2011-03-28 14:30:02 +02:00
parent 36ecc99b0a
commit 306a945b86
4 changed files with 9 additions and 4 deletions

View File

@@ -116,7 +116,6 @@ ProjectTreeWidget::ProjectTreeWidget(QWidget *parent)
this, SLOT(filesAboutToBeRemoved(FolderNode *, const QList<FileNode*> &)));
m_view = new ProjectTreeView;
m_view->header()->setStretchLastSection(true);
m_view->setModel(m_model);
setFocusProxy(m_view);
initView();