Commit d6d7b97a authored by Pawel Polanski's avatar Pawel Polanski

Debug progress bar removed form Symbian debugging

Task-number: QTCREATORBUG-2846
parent d2468a44
......@@ -770,7 +770,6 @@ S60DeviceDebugRunControl::S60DeviceDebugRunControl(S60DeviceRunConfiguration *rc
arg(localExecutable(rc));
emit appendMessage(this, msg, true);
}
connect(this, SIGNAL(finished()), this, SLOT(slotFinished()));
}
void S60DeviceDebugRunControl::start()
......@@ -787,13 +786,6 @@ void S60DeviceDebugRunControl::start()
settingsCategory, settingsPage);
return;
}
m_debugProgress.reset(new QFutureInterface<void>);
Core::ICore::instance()->progressManager()->addTask(m_debugProgress->future(),
tr("Debugging"),
QLatin1String("Symbian.Debug"));
m_debugProgress->setProgressRange(0, PROGRESS_MAX);
m_debugProgress->setProgressValue(0);
m_debugProgress->reportStarted();
emit appendMessage(this, tr("Launching debugger..."), false);
Debugger::DebuggerRunControl::start();
......@@ -802,21 +794,3 @@ void S60DeviceDebugRunControl::start()
S60DeviceDebugRunControl::~S60DeviceDebugRunControl()
{
}
RunControl::StopResult S60DeviceDebugRunControl::stop()
{
if (!m_debugProgress.isNull()) {
m_debugProgress->reportCanceled();
m_debugProgress.reset();
}
return Debugger::DebuggerRunControl::stop();
}
void S60DeviceDebugRunControl::slotFinished()
{
if (!m_debugProgress.isNull()) {
m_debugProgress->setProgressValue(PROGRESS_MAX);
m_debugProgress->reportFinished();
m_debugProgress.reset();
}
}
......@@ -204,15 +204,9 @@ public:
const QString &mode);
virtual ~S60DeviceDebugRunControl();
virtual void start();
virtual StopResult stop();
private slots:
void slotFinished();
private:
static Debugger::DebuggerStartParameters s60DebuggerStartParams(const S60DeviceRunConfiguration *rc);
QScopedPointer<QFutureInterface<void> > m_debugProgress;
};
} // namespace Internal
......
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