summaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-05-12 06:33:21 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2011-05-12 06:34:56 (GMT)
commit5c830ed2a612b940c377fb4e8a2372655f175707 (patch)
tree036521a3568b8e966b25c9bee83cb59d4d3de4f8 /src/plugins/qmltooling
parent7acaea8557c1c6a758d9a26eff3fb1b3ec19084f (diff)
downloadQt-5c830ed2a612b940c377fb4e8a2372655f175707.zip
Qt-5c830ed2a612b940c377fb4e8a2372655f175707.tar.gz
Qt-5c830ed2a612b940c377fb4e8a2372655f175707.tar.bz2
QmlDebug: Fix QmlOstPlugin compilation failure
Fix signature of waitForMessage. Reviewed-by: Tom Sutcliffe
Diffstat (limited to 'src/plugins/qmltooling')
-rw-r--r--src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp
index 3fb7ccf..ac32081 100644
--- a/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp
+++ b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp
@@ -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)