From 99b64d76c2388132249d2a085e6357ff1ace70dd Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Wed, 30 Jul 2008 01:15:00 +0200 Subject: [PATCH 1/1] fixing object identifier for IrcChannel which was currupted in bulk sync --- src/common/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1