Commit 4f772ea0 authored by hjk's avatar hjk

debugger: show name of core file in output pane.

This is a partial fix for http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1574.
parent c8a1b123
......@@ -169,6 +169,11 @@ DebuggerRunControl::DebuggerRunControl(DebuggerManager *manager, const DebuggerS
m_startParameters->useTerminal = false;
}
QString DebuggerRunControl::displayName() const
{
return tr("Core file: \"%1\"").arg(m_startParameters->coreFile);
}
void DebuggerRunControl::setCustomEnvironment(ProjectExplorer::Environment env)
{
m_startParameters->environment = env.toStringList();
......
......@@ -79,6 +79,7 @@ public:
virtual void start();
virtual void stop();
virtual bool isRunning() const;
QString displayName() const;
Q_SLOT void debuggingFinished();
DebuggerStartParametersPtr startParameters() { return m_startParameters; }
......
Markdown is supported
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