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
9cb61560
Commit
9cb61560
authored
Feb 13, 2009
by
dt
Browse files
Fixes: Another crash
Task: Also from irc.
parent
e3f748b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4project.cpp
View file @
9cb61560
...
...
@@ -406,7 +406,7 @@ ProjectExplorer::ToolChain *Qt4Project::toolChain(const QString &buildConfigurat
{
qDebug
()
<<
"Qt4Project::toolChain() for buildconfiguration:"
<<
buildConfiguration
;
Q_UNUSED
(
buildConfiguration
);
ToolChain
*
m_test
;
ToolChain
*
m_test
=
0
;
QtVersion
*
version
=
qtVersion
(
activeBuildConfiguration
());
ToolChain
::
ToolChainType
t
=
version
->
toolchainType
();
if
(
t
==
ToolChain
::
MinGW
)
{
...
...
@@ -436,9 +436,7 @@ ProjectExplorer::ToolChain *Qt4Project::toolChain(const QString &buildConfigurat
qDebug
()
<<
"Qt Creator doesn't know about the system includes, nor the systems defines."
;
}
if
(
m_test
==
m_toolChain
)
{
if
(
ToolChain
::
equals
(
m_test
,
m_toolChain
))
{
delete
m_test
;
}
else
{
delete
m_toolChain
;
...
...
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