~ubuntu-branches/ubuntu/saucy/quassel/saucy-proposed

« back to all changes in this revision

Viewing changes to src/core/ircserverhandler.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-01-18 19:23:19 UTC
  • mto: This revision was merged to the branch mainline in revision 57.
  • Revision ID: james.westby@ubuntu.com-20100118192319-y6y1n05lwx1ranys
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
  : BasicHandler(parent),
37
37
    _whois(false)
38
38
{
 
39
  connect(parent, SIGNAL(disconnected(NetworkId)), this, SLOT(destroyNetsplits()));
39
40
}
40
41
 
41
42
IrcServerHandler::~IrcServerHandler() {
42
 
  if(!_netsplits.empty())
43
 
    qDeleteAll(_netsplits);
 
43
  destroyNetsplits();
44
44
}
45
45
 
46
46
/*! Handle a raw message string sent by the server. We try to find a suitable handler, otherwise we call a default handler. */
1164
1164
  }
1165
1165
}
1166
1166
 
 
1167
void IrcServerHandler::destroyNetsplits() {
 
1168
  qDeleteAll(_netsplits);
 
1169
  _netsplits.clear();
 
1170
}
1167
1171
 
1168
1172
/***********************************************************************************/
1169
1173