From: Marcus Eggenberger Date: Tue, 29 Jul 2008 23:15:00 +0000 (+0200) Subject: fixing object identifier for IrcChannel which was currupted in bulk sync X-Git-Tag: 0.3.0~202 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=99b64d76c2388132249d2a085e6357ff1ace70dd fixing object identifier for IrcChannel which was currupted in bulk sync --- diff --git a/src/common/network.cpp b/src/common/network.cpp index 374c0bfc..e763fb95 100644 --- a/src/common/network.cpp +++ b/src/common/network.cpp @@ -537,7 +537,7 @@ QVariantMap Network::initIrcUsersAndChannels() const { QHash::const_iterator channelIter = _ircChannels.constBegin(); QHash::const_iterator channelIterEnd = _ircChannels.constEnd(); while(channelIter != channelIterEnd) { - channels[channelIter.key()] = channelIter.value()->toVariantMap(); + channels[channelIter.value()->name()] = channelIter.value()->toVariantMap(); channelIter++; } usersAndChannels["channels"] = channels;