diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-04-28 08:28:26 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-04-28 08:39:20 (GMT) |
commit | 42b9cb3130a23524487bb3fa2e818da8b82880c7 (patch) | |
tree | 0a647407ce7cf10d12c4603d738b2f134fb895d0 /Swift/QtUI/ChatList/ChatListModel.cpp | |
parent | f48dbee2fb5acf7c0abc9d7897d736233b1f0d2f (diff) | |
download | swift-contrib-42b9cb3130a23524487bb3fa2e818da8b82880c7.zip swift-contrib-42b9cb3130a23524487bb3fa2e818da8b82880c7.tar.bz2 |
Recent chats are now persisted.
Release-Notes: A list of recent chats is now kept in the 'Chats' tab of the main window.
Resolves: #181
Diffstat (limited to 'Swift/QtUI/ChatList/ChatListModel.cpp')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/ChatList/ChatListModel.cpp b/Swift/QtUI/ChatList/ChatListModel.cpp index dc60d65..681c1c2 100644 --- a/Swift/QtUI/ChatList/ChatListModel.cpp +++ b/Swift/QtUI/ChatList/ChatListModel.cpp @@ -12,11 +12,11 @@ namespace Swift { ChatListModel::ChatListModel() { - root_ = new ChatListGroupItem("", NULL); + root_ = new ChatListGroupItem("", NULL, false); mucBookmarks_ = new ChatListGroupItem(tr("Bookmarked Rooms"), root_); recents_ = new ChatListGroupItem(tr("Recent Chats"), root_, false); - root_->addItem(mucBookmarks_); root_->addItem(recents_); + root_->addItem(mucBookmarks_); } void ChatListModel::clearBookmarks() { |