Debugger: Remove GdbServerPortsGatherer::setDevice

Apparently not used anymore.

Change-Id: Ic9ee826edd383254dcb77ea435843904a53d10a8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-06-11 09:38:25 +02:00
parent 8ec882a6e6
commit f636f06b45
3 changed files with 0 additions and 10 deletions

View File

@@ -1043,7 +1043,6 @@ GdbServerPortsGatherer::GdbServerPortsGatherer(RunControl *runControl)
: ChannelProvider(runControl, 2)
{
setId("GdbServerPortsGatherer");
m_device = runControl->device();
}
GdbServerPortsGatherer::~GdbServerPortsGatherer() = default;
@@ -1070,11 +1069,6 @@ QUrl GdbServerPortsGatherer::qmlServer() const
return channel(1);
}
void GdbServerPortsGatherer::setDevice(IDevice::ConstPtr device)
{
m_device = device;
}
// GdbServerRunner
GdbServerRunner::GdbServerRunner(RunControl *runControl, GdbServerPortsGatherer *portsGatherer)