aboutsummaryrefslogtreecommitdiff
path: root/tests/TestClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestClient.h')
-rw-r--r--tests/TestClient.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/TestClient.h b/tests/TestClient.h
index 662694c5..d11e1398 100644
--- a/tests/TestClient.h
+++ b/tests/TestClient.h
@@ -25,8 +25,10 @@
#define CLIENTTESTING_H
#include "QXmppClient.h"
+#include "QXmppClientExtension.h" // needed for qDeleteAll(d->extensions)
#include "QXmppClient_p.h"
#include "QXmppOutgoingClient.h"
+
#include "util.h"
class TestClient : public QXmppClient
@@ -80,7 +82,7 @@ private:
void onLoggerMessage(QXmppLogger::MessageType type, const QString &text)
{
if (type != QXmppLogger::SentMessage ||
- text == QLatin1String("<r xmlns=\"urn:xmpp:sm:3\"/>")) {
+ text == QLatin1String("<r xmlns=\"urn:xmpp:sm:3\"/>")) {
return;
}
@@ -95,4 +97,4 @@ private:
QList<QString> m_sentPackets;
};
-#endif // CLIENTTESTING_H
+#endif // CLIENTTESTING_H