diff options
author | hjk <hjk@qt.io> | 2017-06-14 14:59:23 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-06-29 14:00:22 +0000 |
commit | ef7c633de2692f2c4e909a1a8f1a24ef0772256d (patch) | |
tree | f083856ff9345b6c2d9e8a4984afd263e657e6bd /src/libs/qmldebug | |
parent | f501c19ebc8dba4cc1ee2dfb481e9297d7e0d5ab (diff) |
Android: Re-enable QmlProfiler
Change-Id: Icd73475be421e6813b0d496020461e7020b547dd
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs/qmldebug')
-rw-r--r-- | src/libs/qmldebug/qmldebugclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmldebug/qmldebugclient.cpp b/src/libs/qmldebug/qmldebugclient.cpp index a1ac4ecddf..597281ab25 100644 --- a/src/libs/qmldebug/qmldebugclient.cpp +++ b/src/libs/qmldebug/qmldebugclient.cpp @@ -365,7 +365,7 @@ void QmlDebugConnection::connectToHost(const QString &hostName, quint16 port) }); connect(socket, &QAbstractSocket::connected, this, &QmlDebugConnection::socketConnected); connect(socket, &QAbstractSocket::disconnected, this, &QmlDebugConnection::socketDisconnected); - socket->connectToHost(hostName, port); + socket->connectToHost(hostName.isEmpty() ? QString("localhost") : hostName, port); } void QmlDebugConnection::startLocalServer(const QString &fileName) |