Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
88683f97
Commit
88683f97
authored
Apr 12, 2010
by
Lasse Holmstedt
Browse files
Fixed ugly headers in bauhaus navigator on startup
parent
4d457401
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/navigator/navigatorview.cpp
View file @
88683f97
...
...
@@ -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
)
...
...
src/plugins/qmldesigner/components/navigator/navigatorwidget.cpp
View file @
88683f97
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment