aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppReconnectionManager.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2009-10-20 19:30:50 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2009-10-20 19:30:50 +0000
commit5b4e1339866db3be97b00ee11cd19dfa0596efe1 (patch)
tree06bbf2340ea35ee4d82ede0f17b43f8fd891a9c2 /source/QXmppReconnectionManager.cpp
parente2be03e254a956024c9d67b19b8a809c9692b6f1 (diff)
downloadqxmpp-5b4e1339866db3be97b00ee11cd19dfa0596efe1.tar.gz
fix for Issue 18: Class XXX has virtual functions but non-virtual destructor -warnings
and other warnings
Diffstat (limited to 'source/QXmppReconnectionManager.cpp')
-rw-r--r--source/QXmppReconnectionManager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/QXmppReconnectionManager.cpp b/source/QXmppReconnectionManager.cpp
index 31183abc..32edf41c 100644
--- a/source/QXmppReconnectionManager.cpp
+++ b/source/QXmppReconnectionManager.cpp
@@ -27,8 +27,10 @@
#include "QXmppUtils.h"
QXmppReconnectionManager::QXmppReconnectionManager(QXmppClient* client) :
+ QObject(client),
+ m_reconnectionTries(0),
m_timer(this),
- m_reconnectionTries(0), m_client(client), QObject(client)
+ m_client(client)
{
m_timer.setSingleShot(true);
bool check = connect(&m_timer, SIGNAL(timeout()), SLOT(reconnect()));