This commit is contained in:
Roberto Raggi
2010-06-29 14:12:39 +02:00
parent 4aa63c074d
commit 6d1d196ed1
2 changed files with 14 additions and 16 deletions

View File

@@ -97,10 +97,17 @@
#include <QtNetwork/QHostAddress>
using namespace QmlJS::AST;
using namespace QmlJSInspector::Internal;
using namespace Debugger::Internal;
enum {
MaxConnectionAttempts = 50,
ConnectionAttemptDefaultInterval = 75,
// used when debugging with c++ - connection can take a lot of time
ConnectionAttemptSimultaneousInterval = 500
};
Inspector::Inspector(QObject *parent)
: QObject(parent),
m_connectionTimer(new QTimer(this)),