aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppArchiveManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppArchiveManager.cpp')
-rw-r--r--source/QXmppArchiveManager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/QXmppArchiveManager.cpp b/source/QXmppArchiveManager.cpp
index 5281bf26..7ff0e5f6 100644
--- a/source/QXmppArchiveManager.cpp
+++ b/source/QXmppArchiveManager.cpp
@@ -27,8 +27,9 @@
#include <QDebug>
-QXmppArchiveManager::QXmppArchiveManager(QXmppStream *stream) :
- QObject(stream), m_stream(stream)
+QXmppArchiveManager::QXmppArchiveManager(QXmppStream *stream, QObject *parent)
+ : QObject(parent),
+ m_stream(stream)
{
bool check = QObject::connect(m_stream, SIGNAL(archiveChatIqReceived(const QXmppArchiveChatIq&)),
this, SLOT(archiveChatIqReceived(const QXmppArchiveChatIq&)));