Commit 2b1ec795 authored by hjk's avatar hjk

Debugger: Remove unused functions from DebuggerRunControl

Change-Id: I84a130e526b5b23ab2bf9774586d872f0252b256
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 1bacbb94
......@@ -153,12 +153,6 @@ DebuggerRunControl::~DebuggerRunControl()
delete d;
}
const DebuggerStartParameters &DebuggerRunControl::startParameters() const
{
QTC_ASSERT(d->m_engine, return *(new DebuggerStartParameters()));
return d->m_engine->startParameters();
}
QString DebuggerRunControl::displayName() const
{
QTC_ASSERT(d->m_engine, return QString());
......@@ -170,12 +164,6 @@ QIcon DebuggerRunControl::icon() const
return QIcon(QLatin1String(ProjectExplorer::Constants::ICON_DEBUG_SMALL));
}
void DebuggerRunControl::setCustomEnvironment(Environment env)
{
QTC_ASSERT(d->m_engine, return);
d->m_engine->startParameters().environment = env;
}
void DebuggerRunControl::start()
{
QTC_ASSERT(d->m_engine, return);
......
......@@ -66,7 +66,6 @@ public:
QString displayName() const;
QIcon icon() const;
void setCustomEnvironment(Utils::Environment env);
void startFailed();
void debuggingFinished();
ProjectExplorer::RunConfiguration *runConfiguration() const;
......@@ -80,9 +79,6 @@ signals:
private slots:
void handleFinished();
protected:
const DebuggerStartParameters &startParameters() const;
private:
//friend class Internal::DebuggerRunControlFactory;
Internal::DebuggerRunControlPrivate *d;
......
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