diff --git a/src/libs/qmldebug/qmlenginecontrolclient.cpp b/src/libs/qmldebug/qmlenginecontrolclient.cpp index 4ee115e24ff..8485615cd42 100644 --- a/src/libs/qmldebug/qmlenginecontrolclient.cpp +++ b/src/libs/qmldebug/qmlenginecontrolclient.cpp @@ -63,7 +63,7 @@ void QmlEngineControlClient::releaseEngine(int engineId) EngineState &state = m_blockedEngines[engineId]; if (--state.blockers == 0) { QTC_ASSERT(state.releaseCommand != InvalidCommand, return); - sendMessage(state.releaseCommand, engineId); + sendCommand(state.releaseCommand, engineId); m_blockedEngines.remove(engineId); } } @@ -101,12 +101,12 @@ void QmlEngineControlClient::messageReceived(const QByteArray &data) } if (state.blockers == 0 && state.releaseCommand != InvalidCommand) { - sendMessage(state.releaseCommand, id); + sendCommand(state.releaseCommand, id); m_blockedEngines.remove(id); } } -void QmlEngineControlClient::sendMessage(QmlEngineControlClient::CommandType command, int engineId) +void QmlEngineControlClient::sendCommand(QmlEngineControlClient::CommandType command, int engineId) { QByteArray data; QDataStream stream(&data, QIODevice::WriteOnly); diff --git a/src/libs/qmldebug/qmlenginecontrolclient.h b/src/libs/qmldebug/qmlenginecontrolclient.h index 44d36fbc21e..4005b29bc80 100644 --- a/src/libs/qmldebug/qmlenginecontrolclient.h +++ b/src/libs/qmldebug/qmlenginecontrolclient.h @@ -65,7 +65,7 @@ signals: protected: void messageReceived(const QByteArray &); - void sendMessage(CommandType command, int engineId); + void sendCommand(CommandType command, int engineId); struct EngineState { EngineState(CommandType command = InvalidCommand) : releaseCommand(command), blockers(0) {}