forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user