forked from qt-creator/qt-creator
Fix merge issue
Change-Id: I414a72ba77ea5218711fb9a8b0d3d160670a93d2 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
@@ -279,7 +279,7 @@ void QmlProfilerClientManager::tryToConnect()
|
|||||||
// connection first to be established and then torn down again.
|
// connection first to be established and then torn down again.
|
||||||
delete d->connection;
|
delete d->connection;
|
||||||
d->connection = 0;
|
d->connection = 0;
|
||||||
connectClient(d->tcpPort);
|
connectTcpClient(d->tcpPort);
|
||||||
connectToClient();
|
connectToClient();
|
||||||
} else if (d->connectionAttempts == 50) {
|
} else if (d->connectionAttempts == 50) {
|
||||||
d->connectionTimer.stop();
|
d->connectionTimer.stop();
|
||||||
@@ -350,7 +350,7 @@ void QmlProfilerClientManager::retryMessageBoxFinished(int result)
|
|||||||
|
|
||||||
switch (result) {
|
switch (result) {
|
||||||
case QMessageBox::Retry: {
|
case QMessageBox::Retry: {
|
||||||
connectClient(d->tcpPort);
|
connectTcpClient(d->tcpPort);
|
||||||
d->connectionAttempts = 0;
|
d->connectionAttempts = 0;
|
||||||
d->connectionTimer.start();
|
d->connectionTimer.start();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user