diff options
| author | Alan Alpert <alan.alpert@nokia.com> | 2011-01-12 04:23:21 (GMT) |
|---|---|---|
| committer | Alan Alpert <alan.alpert@nokia.com> | 2011-01-12 04:23:21 (GMT) |
| commit | 9254f161d5b5d95f359f2e9957afdfbe53dc378c (patch) | |
| tree | 2426401f8d4430cb370b79881d24ad76881caa69 | |
| parent | d91eb7728beea99eb347293c89500cfa03814208 (diff) | |
| parent | 619cb18022baaea3020dd15369c67b2bc07f5f86 (diff) | |
| download | Qt-9254f161d5b5d95f359f2e9957afdfbe53dc378c.zip Qt-9254f161d5b5d95f359f2e9957afdfbe53dc378c.tar.gz Qt-9254f161d5b5d95f359f2e9957afdfbe53dc378c.tar.bz2 | |
Merge branch 'qtquick11' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11
| -rw-r--r-- | src/declarative/debugger/qpacketprotocol.cpp | 1 | ||||
| -rw-r--r-- | tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/debugger/qpacketprotocol.cpp b/src/declarative/debugger/qpacketprotocol.cpp index ad1e767..1d056e4 100644 --- a/src/declarative/debugger/qpacketprotocol.cpp +++ b/src/declarative/debugger/qpacketprotocol.cpp @@ -407,6 +407,7 @@ QPacket::QPacket() buf = new QBuffer(&b); buf->open(QIODevice::WriteOnly); setDevice(buf); + setVersion(QDataStream::Qt_4_7); } /*! diff --git a/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp b/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp index 30629f9..14efc57 100644 --- a/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp +++ b/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp @@ -133,6 +133,10 @@ void tst_QDeclarativeDebugService::sendMessage() client.sendMessage(msg); QByteArray resp = client.waitForResponse(); QCOMPARE(resp, msg); + + QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugService: Conflicting plugin name \"tst_QDeclarativeDebugService::sendMessage()\" "); + QDeclarativeDebugService duplicate("tst_QDeclarativeDebugService::sendMessage()"); + duplicate.sendMessage("msg"); } void tst_QDeclarativeDebugService::idForObject() |
