diff --git a/libqwebthree/QWebThree.cpp b/libqwebthree/QWebThree.cpp index 9915ca044..804766563 100644 --- a/libqwebthree/QWebThree.cpp +++ b/libqwebthree/QWebThree.cpp @@ -58,7 +58,7 @@ QString QWebThree::callMethod(QString _json) return m_response; } -void QWebThree::onDataProcessed(QString _json, QString _addInfo) +void QWebThree::onDataProcessed(QString _json, QString) { QJsonObject f = QJsonDocument::fromJson(_json.toUtf8()).object(); syncResponse(QString::fromUtf8(QJsonDocument(f).toJson())); diff --git a/mix/ClientModel.cpp b/mix/ClientModel.cpp index 0b3d44d64..d682235d1 100644 --- a/mix/ClientModel.cpp +++ b/mix/ClientModel.cpp @@ -68,9 +68,10 @@ ClientModel::~ClientModel() { } -void ClientModel::apiRequest(const QString& _message) +void ClientModel::apiRequest(QString const& _message) { - m_qWebThree->postMessage(_message); + (void)_message; +// m_qWebThree->postMessage(_message); } QString ClientModel::contractAddress() const