diff --git a/src/libs/qmldebug/qmldebugclient.cpp b/src/libs/qmldebug/qmldebugclient.cpp index 5fc4f6c50f2611882a936940a5d2658e7cf2c397..6fd35d3c130a782dd8e89cbae6cf7699dedf84c7 100644 --- a/src/libs/qmldebug/qmldebugclient.cpp +++ b/src/libs/qmldebug/qmldebugclient.cpp @@ -40,7 +40,6 @@ namespace QmlDebug { const int protocolVersion = 1; const QString serverId = QLatin1String("QDeclarativeDebugServer"); const QString clientId = QLatin1String("QDeclarativeDebugClient"); -static const uchar KQmlOstProtocolId = 0x94; class QmlDebugClientPrivate { diff --git a/src/libs/qmldebug/qmldebugconstants.h b/src/libs/qmldebug/qmldebugconstants.h index f88d7c0b0a681bc28c91613dd38223edbbc3c81c..8f207a1af5b585469fc6b3ca325751b4f6a17326 100644 --- a/src/libs/qmldebug/qmldebugconstants.h +++ b/src/libs/qmldebug/qmldebugconstants.h @@ -35,7 +35,6 @@ namespace Constants { const char STR_WAITING_FOR_CONNECTION[] = "Waiting for connection "; const char STR_ON_PORT_PATTERN[] = "on port (\\d+)"; -const char STR_VIA_OST[] = "via OST"; const char STR_UNABLE_TO_LISTEN[] = "Unable to listen "; const char STR_IGNORING_DEBUGGER[] = "Ignoring \"-qmljsdebugger="; const char STR_IGNORING_DEBUGGER2[] = "Ignoring\"-qmljsdebugger="; // There is (was?) a bug in one of the error strings - safest to handle both diff --git a/src/libs/qmldebug/qmloutputparser.cpp b/src/libs/qmldebug/qmloutputparser.cpp index 955fc6ee7fad482d3a3b3d58c5b037ae867b0ee4..33a44a30863599e7fe831957c930630d0518c18d 100644 --- a/src/libs/qmldebug/qmloutputparser.cpp +++ b/src/libs/qmldebug/qmloutputparser.cpp @@ -91,11 +91,6 @@ void QmlOutputParser::processOutput(const QString &output) emit waitingForConnectionOnPort(port); continue; } - - static QString waitingOst - = QLatin1String(Constants::STR_VIA_OST); - if (status.startsWith(waitingOst)) - emit waitingForConnectionViaOst(); } else if (status.startsWith(unableToListen)) { //: Error message shown after 'Could not connect ... debugger:" emit errorMessage(tr("The port seems to be in use.")); diff --git a/src/libs/qmldebug/qmloutputparser.h b/src/libs/qmldebug/qmloutputparser.h index 77851358556f825218dd0f13ee24b38eac27e179..8d394c789fc63c030ecdd15e43b386d69e5f3d03 100644 --- a/src/libs/qmldebug/qmloutputparser.h +++ b/src/libs/qmldebug/qmloutputparser.h @@ -47,7 +47,6 @@ public: signals: void waitingForConnectionOnPort(quint16 port); - void waitingForConnectionViaOst(); void connectionEstablishedMessage(); void errorMessage(const QString &detailedError); void unknownMessage(const QString &unknownMessage); diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index c508cc2f4abe29f72a374c1ece703cbae96c1dc2..6d053e4cbc6acc058a68529b01402389c23391ed 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -306,8 +306,6 @@ QmlEngine::QmlEngine(const DebuggerStartParameters &startParameters, DebuggerEng ::msgWinCannotRetrieveDebuggingOutput()); connect(&m_outputParser, SIGNAL(waitingForConnectionOnPort(quint16)), this, SLOT(beginConnection(quint16))); - connect(&m_outputParser, SIGNAL(waitingForConnectionViaOst()), - this, SLOT(beginConnection())); connect(&m_outputParser, SIGNAL(noOutputMessage()), this, SLOT(tryToConnect())); connect(&m_outputParser, SIGNAL(errorMessage(QString)), diff --git a/src/plugins/qmlprofiler/qmlprofilerengine.cpp b/src/plugins/qmlprofiler/qmlprofilerengine.cpp index 7d06a40ed3a161f57beea1de35d9ac9b0438ae4e..4ff5d3284250e6b31da336e78492c8251f032c12 100644 --- a/src/plugins/qmlprofiler/qmlprofilerengine.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerengine.cpp @@ -154,8 +154,6 @@ QmlProfilerEngine::QmlProfilerEngine(IAnalyzerTool *tool, d->m_outputParser.setNoOutputText(ApplicationLauncher::msgWinCannotRetrieveDebuggingOutput()); connect(&d->m_outputParser, SIGNAL(waitingForConnectionOnPort(quint16)), this, SLOT(processIsRunning(quint16))); - connect(&d->m_outputParser, SIGNAL(waitingForConnectionViaOst()), - this, SLOT(processIsRunning())); connect(&d->m_outputParser, SIGNAL(noOutputMessage()), this, SLOT(processIsRunning())); connect(&d->m_outputParser, SIGNAL(errorMessage(QString)),