diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-09-10 16:53:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-09-10 16:53:30 (GMT) |
commit | dd38b017c12478ef1cc4db37c1e8219e3151742f (patch) | |
tree | beff183339f9f5fc2321843636d3063c622b34dc /Swift/QtUI/ChatList | |
parent | fae0452c89cc18d786b4a560c9059c42177525ff (diff) | |
download | swift-contrib-dd38b017c12478ef1cc4db37c1e8219e3151742f.zip swift-contrib-dd38b017c12478ef1cc4db37c1e8219e3151742f.tar.bz2 |
Remove whiteboard from non experimental.
Diffstat (limited to 'Swift/QtUI/ChatList')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListModel.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Swift/QtUI/ChatList/ChatListModel.cpp b/Swift/QtUI/ChatList/ChatListModel.cpp index 15f4dfe..7913c61 100644 --- a/Swift/QtUI/ChatList/ChatListModel.cpp +++ b/Swift/QtUI/ChatList/ChatListModel.cpp @@ -12,14 +12,17 @@ namespace Swift { -ChatListModel::ChatListModel() { +ChatListModel::ChatListModel() : whiteboards_(NULL) { root_ = new ChatListGroupItem("", NULL, false); mucBookmarks_ = new ChatListGroupItem(tr("Bookmarked Rooms"), root_); recents_ = new ChatListGroupItem(tr("Recent Chats"), root_, false); +#ifdef SWIFT_EXPERIMENTAL_WB whiteboards_ = new ChatListGroupItem(tr("Opened Whiteboards"), root_, false); + root_->addItem(whiteboards_); +#endif + root_->addItem(recents_); root_->addItem(mucBookmarks_); - root_->addItem(whiteboards_); } void ChatListModel::clearBookmarks() { |