Commit 614cd408 authored by hjk's avatar hjk
Browse files

projectexplorer: fix crash on uninitialized pointer

parent fc3b5036
...@@ -221,7 +221,7 @@ IRunControlFactory::~IRunControlFactory() ...@@ -221,7 +221,7 @@ IRunControlFactory::~IRunControlFactory()
} }
RunControl::RunControl(RunConfiguration *runConfiguration, QString mode) RunControl::RunControl(RunConfiguration *runConfiguration, QString mode)
: m_runMode(mode), m_runConfiguration(runConfiguration) : m_runMode(mode), m_runConfiguration(runConfiguration), m_outputFormatter(0)
{ {
if (runConfiguration) { if (runConfiguration) {
m_displayName = runConfiguration->displayName(); m_displayName = runConfiguration->displayName();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment