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
443d5d3d
Commit
443d5d3d
authored
Jun 18, 2010
by
Tobias Hunger
Browse files
Make sure to initialize a variable
... otherwise the ASSERT will not trigger when it should.
parent
fd00ec23
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectwindow.cpp
View file @
443d5d3d
...
...
@@ -409,7 +409,7 @@ void ProjectWindow::showProperties(int index, int subIndex)
if
(
fac
)
{
removeCurrentWidget
();
IPropertiesPanel
*
panel
;
IPropertiesPanel
*
panel
=
0
;
if
(
ITargetPanelFactory
*
ipf
=
qobject_cast
<
ITargetPanelFactory
*>
(
fac
))
panel
=
ipf
->
createPanel
(
project
->
activeTarget
());
else
if
(
IProjectPanelFactory
*
ipf
=
qobject_cast
<
IProjectPanelFactory
*>
(
fac
))
...
...
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