QmlProfiler: Set scheme for URL in attach dialog

Change-Id: I2d96753c52f34f5d1b7a1f5de7792de748b3f507
Task-number: QTCREATORBUG-19496
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Ulf Hermann
2018-01-03 11:52:16 +01:00
parent bada98379d
commit 0ebdeccb83

View File

@@ -551,6 +551,7 @@ void QmlProfilerTool::attachToWaitingApplication()
IDevice::ConstPtr device = DeviceKitInformation::device(kit);
QTC_ASSERT(device, return);
QUrl toolControl = device->toolControlChannel(IDevice::QmlControlChannel);
serverUrl.setScheme(urlTcpScheme());
serverUrl.setHost(toolControl.host());
serverUrl.setPort(port);