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
Marco Bubke
flatpak-qt-creator
Commits
c311ab0a
Commit
c311ab0a
authored
Dec 09, 2009
by
Tobias Hunger
Browse files
Reduce flickering in project mode
* Remove one layer of layout. Reviewed-by: dt
parent
7ce36831
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectwindow.cpp
View file @
c311ab0a
...
@@ -122,19 +122,7 @@ PanelsWidget::PanelsWidget(QWidget *parent) :
...
@@ -122,19 +122,7 @@ PanelsWidget::PanelsWidget(QWidget *parent) :
m_layout
->
setColumnMinimumWidth
(
0
,
ICON_SIZE
+
4
);
m_layout
->
setColumnMinimumWidth
(
0
,
ICON_SIZE
+
4
);
m_layout
->
setSpacing
(
0
);
m_layout
->
setSpacing
(
0
);
// Add horizontal space to the left of our widget:
setWidget
(
m_root
);
QHBoxLayout
*
hbox
=
new
QHBoxLayout
;
hbox
->
setMargin
(
0
);
hbox
->
setSpacing
(
0
);
hbox
->
addWidget
(
m_root
);
hbox
->
addStretch
(
10
);
// create a widget to hold the scrollarea:
QWidget
*
scrollArea
=
new
QWidget
();
scrollArea
->
setLayout
(
hbox
);
setWidget
(
scrollArea
);
setFrameStyle
(
QFrame
::
NoFrame
);
setFrameStyle
(
QFrame
::
NoFrame
);
setWidgetResizable
(
true
);
setWidgetResizable
(
true
);
}
}
...
...
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