Debugger: Connect GdbServerPortsGatherer signals in constructor

Not in start(), when it would add extra connections on each re-run.

Change-Id: I5fe9e047a188276f3bde54227dc0509ab77366c4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-07-07 16:40:10 +02:00
parent 9c738cea42
commit eb0aa0b76f
2 changed files with 27 additions and 23 deletions

View File

@@ -111,7 +111,8 @@ public:
Utils::Port qmlServerPort() const { return m_qmlServerPort; }
private:
void start();
void start() override;
void handlePortListReady();
ProjectExplorer::DeviceUsedPortsGatherer m_portsGatherer;
bool m_useGdbServer = false;