QmlDebug: Remove dead code

This commit is contained in:
Kai Koehne
2011-02-16 14:37:37 +01:00
parent b07f742d69
commit 7ecac9634a
3 changed files with 2 additions and 28 deletions

View File

@@ -85,11 +85,6 @@
using namespace ProjectExplorer;
enum {
MaxConnectionAttempts = 50,
ConnectionAttemptDefaultInterval = 200
};
namespace Debugger {
namespace Internal {
@@ -258,10 +253,10 @@ void QmlEngine::connectionStartupFailed()
case QMessageBox::Help: {
Core::HelpManager *helpManager = Core::HelpManager::instance();
helpManager->handleHelpRequest("qthelp://com.nokia.qtcreator/doc/creator-debugging-qml.html");
break;
}
default:
notifyEngineRunFailed();
break;
}
}
@@ -364,8 +359,6 @@ void QmlEngine::shutdownEngine()
void QmlEngine::setupEngine()
{
d->m_ping = 0;
d->m_adapter.setMaxConnectionAttempts(MaxConnectionAttempts);
d->m_adapter.setConnectionAttemptInterval(ConnectionAttemptDefaultInterval);
connect(&d->m_adapter, SIGNAL(connectionError(QAbstractSocket::SocketError)),
SLOT(connectionError(QAbstractSocket::SocketError)));
connect(&d->m_adapter, SIGNAL(serviceConnectionError(QString)),