diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.cpp b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
index b5e22eb0e69b4bbe8015409cf8dc84bb52815c49..571d85c8e74b4253a0903693edaf56b35e6bbb8d 100644
--- a/src/plugins/qmljsinspector/qmljsclientproxy.cpp
+++ b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
@@ -248,10 +248,10 @@ QList<QDeclarativeDebugObjectReference> ClientProxy::objectReferences(const QUrl
     return result;
 }
 
-QDeclarativeDebugExpressionQuery *ClientProxy::setBindingForObject(int objectDebugId,
-                                                                   const QString &propertyName,
-                                                                   const QVariant &value,
-                                                                   bool isLiteralValue)
+bool ClientProxy::setBindingForObject(int objectDebugId,
+                                      const QString &propertyName,
+                                      const QVariant &value,
+                                      bool isLiteralValue)
 {
     qDebug() << Q_FUNC_INFO;
 
@@ -259,7 +259,7 @@ QDeclarativeDebugExpressionQuery *ClientProxy::setBindingForObject(int objectDeb
         return 0;
 
     qDebug() << "executeBinding():" << objectDebugId << propertyName << value << "isLiteral:" << isLiteralValue;
-    return m_client->setBindingForObject(objectDebugId, propertyName, value.toString(), isLiteralValue, 0);
+    return m_client->setBindingForObject(objectDebugId, propertyName, value.toString(), isLiteralValue);
 }
 
 void ClientProxy::queryEngineContext(int id)
diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.h b/src/plugins/qmljsinspector/qmljsclientproxy.h
index 26dc2164db39f11ccc993cf70eae1ad58e0d3f21..4f5b5ef0dd095944943582de209d4b3513a0c1ad 100644
--- a/src/plugins/qmljsinspector/qmljsclientproxy.h
+++ b/src/plugins/qmljsinspector/qmljsclientproxy.h
@@ -55,10 +55,10 @@ class ClientProxy : public QObject
 public:
     static ClientProxy *instance();
 
-    QDeclarativeDebugExpressionQuery *setBindingForObject(int objectDebugId,
-                                                          const QString &propertyName,
-                                                          const QVariant &value,
-                                                          bool isLiteralValue);
+    bool setBindingForObject(int objectDebugId,
+                             const QString &propertyName,
+                             const QVariant &value,
+                             bool isLiteralValue);
 
     // returns the object references for the given url.
     QList<QDeclarativeDebugObjectReference> objectReferences(const QUrl &url = QUrl()) const;