ProjectExplorer: Remove RunWorker::setDisplayName

It has been an obsolete alias for setId for a while and downstream
uses have been adapted.

Change-Id: I467370aa67054599c7771e8275d28e62ddc461fa
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2018-08-21 08:28:27 +02:00
parent 98f3b961c6
commit 263cf4c608
20 changed files with 27 additions and 28 deletions

View File

@@ -102,7 +102,7 @@ static QString toNdkArch(const QString &arch)
AndroidDebugSupport::AndroidDebugSupport(RunControl *runControl, const QString &intentName)
: Debugger::DebuggerRunTool(runControl)
{
setDisplayName("AndroidDebugger");
setId("AndroidDebugger");
m_runner = new AndroidRunner(runControl, intentName);
addStartDependency(m_runner);
}

View File

@@ -35,7 +35,7 @@ AndroidQmlToolingSupport::AndroidQmlToolingSupport(RunControl *runControl,
const QString &intentName)
: RunWorker(runControl)
{
setDisplayName("AndroidQmlToolingSupport");
setId("AndroidQmlToolingSupport");
auto runner = new AndroidRunner(runControl, intentName);
addStartDependency(runner);

View File

@@ -121,7 +121,7 @@ namespace Internal {
AndroidRunner::AndroidRunner(RunControl *runControl, const QString &intentName)
: RunWorker(runControl), m_target(runControl->runConfiguration()->target())
{
setDisplayName("AndroidRunner");
setId("AndroidRunner");
static const int metaTypes[] = {
qRegisterMetaType<QVector<QStringList> >("QVector<QStringList>"),
qRegisterMetaType<Utils::Port>("Utils::Port"),