From dd38b017c12478ef1cc4db37c1e8219e3151742f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Mon, 10 Sep 2012 18:53:30 +0200
Subject: Remove whiteboard from non experimental.


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() {
-- 
cgit v0.10.2-6-g49f6