From 5b4e1339866db3be97b00ee11cd19dfa0596efe1 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Tue, 20 Oct 2009 19:30:50 +0000 Subject: fix for Issue 18: Class XXX has virtual functions but non-virtual destructor -warnings and other warnings --- source/QXmppReconnectionManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/QXmppReconnectionManager.cpp') 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())); -- cgit v1.2.3