diff options
| -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() { | 
 Swift
 Swift