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

@@ -878,7 +878,7 @@ Internal::TerminalRunner *DebuggerRunTool::terminalRunner() const
DebuggerRunTool::DebuggerRunTool(RunControl *runControl, Kit *kit, bool allowTerminal)
: RunWorker(runControl), d(new DebuggerRunToolPrivate)
{
setDisplayName("DebuggerRunTool");
setId("DebuggerRunTool");
RunConfiguration *runConfig = runControl->runConfiguration();
@@ -1027,7 +1027,7 @@ void DebuggerRunTool::showMessage(const QString &msg, int channel, int timeout)
GdbServerPortsGatherer::GdbServerPortsGatherer(RunControl *runControl)
: ChannelProvider(runControl, 2)
{
setDisplayName("GdbServerPortsGatherer");
setId("GdbServerPortsGatherer");
m_device = runControl->device();
}
@@ -1065,7 +1065,7 @@ void GdbServerPortsGatherer::setDevice(IDevice::ConstPtr device)
GdbServerRunner::GdbServerRunner(RunControl *runControl, GdbServerPortsGatherer *portsGatherer)
: SimpleTargetRunner(runControl), m_portsGatherer(portsGatherer)
{
setDisplayName("GdbServerRunner");
setId("GdbServerRunner");
m_runnable = runControl->runnable();
addStartDependency(m_portsGatherer);
}