Merge remote-tracking branch 'origin/3.5'

This commit is contained in:
Eike Ziller
2015-07-08 14:32:13 +02:00
112 changed files with 2229 additions and 3581 deletions

View File

@@ -210,7 +210,7 @@ void QmlProfilerClientManager::disconnectClientSignals()
void QmlProfilerClientManager::connectToClient()
{
if (!d->connection || d->connection->isOpen())
if (!d->connection || d->connection->isOpen() || d->connection->isConnecting())
return;
d->connection->connectToHost(d->tcpHost, d->tcpPort);
@@ -285,6 +285,12 @@ void QmlProfilerClientManager::logState(const QString &msg)
void QmlProfilerClientManager::retryMessageBoxFinished(int result)
{
if (d->connection) {
QTC_ASSERT(!d->connection->isOpen(), return);
if (d->connection->isConnecting())
d->connection->disconnect();
}
switch (result) {
case QMessageBox::Retry: {
d->connectionAttempts = 0;