Skip to content
GitLab
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
6a9b6def
Commit
6a9b6def
authored
Dec 06, 2010
by
Friedemann Kleint
Browse files
Debugger: Fix exit crash in Debug-Mode.
Acked-By: hjk
parent
688f5d59
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/outputpane.cpp
View file @
6a9b6def
...
...
@@ -74,8 +74,11 @@ OutputPanePlaceHolder::OutputPanePlaceHolder(Core::IMode *mode, QSplitter* paren
OutputPanePlaceHolder
::~
OutputPanePlaceHolder
()
{
if
(
d
->
m_current
==
this
)
{
Internal
::
OutputPaneManager
::
instance
()
->
setParent
(
0
);
Internal
::
OutputPaneManager
::
instance
()
->
hide
();
// FIXME: Prevent exit crash in debug mode.
if
(
Internal
::
OutputPaneManager
*
om
=
Internal
::
OutputPaneManager
::
instance
())
{
om
->
setParent
(
0
);
om
->
hide
();
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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