diff options
Diffstat (limited to 'tests/TestClient.h')
| -rw-r--r-- | tests/TestClient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestClient.h b/tests/TestClient.h index d11e1398..2dda4055 100644 --- a/tests/TestClient.h +++ b/tests/TestClient.h @@ -54,7 +54,8 @@ public: { } - void inject(const QByteArray &xml) + template<typename String> + void inject(const String &xml) { d->stream->handleIqResponse(xmlToDom(xml)); QCoreApplication::processEvents(); |
