summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/ChatList')
-rw-r--r--Swift/QtUI/ChatList/ChatListMUCItem.cpp1
-rw-r--r--Swift/QtUI/ChatList/ChatListModel.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/Swift/QtUI/ChatList/ChatListMUCItem.cpp b/Swift/QtUI/ChatList/ChatListMUCItem.cpp
index 428cf4b..3a32495 100644
--- a/Swift/QtUI/ChatList/ChatListMUCItem.cpp
+++ b/Swift/QtUI/ChatList/ChatListMUCItem.cpp
@@ -12,7 +12,6 @@ boost::shared_ptr<MUCBookmark> ChatListMUCItem::getBookmark() {
}
QVariant ChatListMUCItem::data(int role) {
- printf("Getting role %d\n", role);
switch (role) {
case Qt::DisplayRole: return P2QSTRING(bookmark_->getName());
/*case Qt::TextColorRole: return textColor_;
diff --git a/Swift/QtUI/ChatList/ChatListModel.cpp b/Swift/QtUI/ChatList/ChatListModel.cpp
index 1a1bb80..827650c 100644
--- a/Swift/QtUI/ChatList/ChatListModel.cpp
+++ b/Swift/QtUI/ChatList/ChatListModel.cpp
@@ -59,15 +59,12 @@ QModelIndex ChatListModel::parent(const QModelIndex& index) const {
int ChatListModel::rowCount(const QModelIndex& parentIndex) const {
ChatListGroupItem* parent = NULL;
- printf("Counting\n");
if (parentIndex.isValid()) {
- printf("Valid index\n");
parent = dynamic_cast<ChatListGroupItem*>(static_cast<ChatListItem*>(parentIndex.internalPointer()));
} else {
parent = root_;
}
int count = (parent ? parent->rowCount() : 0);
- printf("Count returned as %d, muc count is %d\n", count, mucBookmarks_->rowCount());
return count;
}