forked from qt-creator/qt-creator
Small cleanup for Symbian's RunConfiguration
This commit is contained in:
@@ -603,8 +603,8 @@ void S60DeviceRunControlBase::start()
|
|||||||
{
|
{
|
||||||
m_deployProgress = new QFutureInterface<void>;
|
m_deployProgress = new QFutureInterface<void>;
|
||||||
Core::ICore::instance()->progressManager()->addTask(m_deployProgress->future(),
|
Core::ICore::instance()->progressManager()->addTask(m_deployProgress->future(),
|
||||||
tr("Deploying"),
|
tr("Launching"),
|
||||||
QLatin1String("Symbian.Deploy"));
|
QLatin1String("Symbian.Launch"));
|
||||||
m_deployProgress->setProgressRange(0, PROGRESS_MAX);
|
m_deployProgress->setProgressRange(0, PROGRESS_MAX);
|
||||||
m_deployProgress->setProgressValue(0);
|
m_deployProgress->setProgressValue(0);
|
||||||
m_deployProgress->reportStarted();
|
m_deployProgress->reportStarted();
|
||||||
@@ -631,7 +631,7 @@ void S60DeviceRunControlBase::start()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
startDeployment();
|
startLaunching();
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void stopProcess(QProcess *p)
|
static inline void stopProcess(QProcess *p)
|
||||||
@@ -657,7 +657,7 @@ bool S60DeviceRunControlBase::isRunning() const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void S60DeviceRunControlBase::startDeployment()
|
void S60DeviceRunControlBase::startLaunching()
|
||||||
{
|
{
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
bool success = false;
|
bool success = false;
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ private slots:
|
|||||||
void reportDeployFinished();
|
void reportDeployFinished();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void startDeployment();
|
void startLaunching();
|
||||||
|
|
||||||
ProjectExplorer::ToolChain::ToolChainType m_toolChain;
|
ProjectExplorer::ToolChain::ToolChainType m_toolChain;
|
||||||
QString m_serialPortName;
|
QString m_serialPortName;
|
||||||
|
|||||||
Reference in New Issue
Block a user