QmlDebug: Fix QmlOstPlugin compilation failure
authorKai Koehne <kai.koehne@nokia.com>
Thu, 12 May 2011 06:33:21 +0000 (08:33 +0200)
committerKai Koehne <kai.koehne@nokia.com>
Thu, 12 May 2011 11:58:07 +0000 (13:58 +0200)
Fix signature of waitForMessage.

Reviewed-by: Tom Sutcliffe
(cherry picked from commit 5c830ed2a612b940c377fb4e8a2372655f175707)

src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp

index 3fb7ccf..ac32081 100644 (file)
@@ -109,10 +109,10 @@ void QmlOstPlugin::disconnect()
     d->protocol = 0;
 }
 
-void QmlOstPlugin::waitForMessage()
+bool QmlOstPlugin::waitForMessage()
 {
     Q_D(QmlOstPlugin);
-    d->protocol->waitForReadyRead(-1);
+    return d->protocol->waitForReadyRead(-1);
 }
 
 void QmlOstPlugin::setPort(int port, bool block)