From e498608216287e99b409ec8b7fc4dedcfcb91f49 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 23 Jan 2015 17:17:59 -0800 Subject: [PATCH] Disable broken bit of mix. --- libqwebthree/QWebThree.cpp | 2 +- mix/ClientModel.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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