Fixed ugly headers in bauhaus navigator on startup

This commit is contained in:
Lasse Holmstedt
2010-04-12 13:02:30 +02:00
parent 4d45740167
commit 88683f97ad
2 changed files with 1 additions and 1 deletions

View File

@@ -95,7 +95,6 @@ void NavigatorView::modelAttached(Model *model)
#ifdef _LOCK_ITEMS_
treeView->header()->resizeSection(2,20);
#endif
treeView->setHeaderHidden(true);
}
void NavigatorView::modelAboutToBeDetached(Model *model)

View File

@@ -49,6 +49,7 @@ NavigatorWidget::NavigatorWidget(QWidget* parent) :
m_treeView->header()->setStretchLastSection(false);
m_treeView->setDefaultDropAction(Qt::LinkAction);
m_treeView->setFocusPolicy(Qt::NoFocus);
m_treeView->setHeaderHidden(true);
QVBoxLayout *layout = new QVBoxLayout;
layout->setSpacing(0);