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/QXmppClient.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/QXmppClient.cpp') diff --git a/source/QXmppClient.cpp b/source/QXmppClient.cpp index 5c6f892b..4618da55 100644 --- a/source/QXmppClient.cpp +++ b/source/QXmppClient.cpp @@ -191,8 +191,7 @@ void QXmppClient::disconnect() QXmppRoster& QXmppClient::getRoster() { - if(m_stream) - return m_stream->getRoster(); + return m_stream->getRoster(); } /// Utility function to send message to all the resources associated with the -- cgit v1.2.3