_scene = new ChatScene(buf, this);
setScene(_scene);
- QGraphicsTextItem *item = scene()->addText(buf->name());
+ QGraphicsTextItem *item = scene()->addText(buf->bufferInfo().bufferName());
}
return _scene;
}
-/*
+
void ChatView::clear()
{
}
}
void ChatView::prependChatLine(ChatLine *line) {
- qDebug() << "prepending";
+ //qDebug() << "prepending";
}
void ChatView::prependChatLines(QList<ChatLine *> clist) {
}
void ChatView::appendChatLine(ChatLine *line) {
- qDebug() << "appending";
+ //qDebug() << "appending";
}
qDebug() << "setting" << list.count();
appendChatLines(list);
}
-*/
+