ProjectExplorer: Make sure toolControlChannel URLs come with a scheme

QML Profiler won't accept URLs without schemes anymore.

Change-Id: I54995ae7e9c1bcdb9f55fe5d56a45931f14cf890
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Ulf Hermann
2017-10-19 17:57:29 +02:00
parent f1a4a10cfe
commit f846e488dd
3 changed files with 3 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ IDevice::Ptr AndroidDevice::clone() const
QUrl AndroidDevice::toolControlChannel(const ControlChannelHint &) const
{
QUrl url;
url.setScheme(urlTcpScheme());
url.setHost("localhost");
return url;
}