X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatview.cpp;h=f9bc1751b3b85fdc0c460092eb3f1513cee7862e;hp=dc337d57d06c1d0c039dea0fff0408f9a6dc1651;hb=100cfa79242249feff3bc3265787b46d2dc621b0;hpb=8699dd758516d0ded076811e8ea656adc95e69d0 diff --git a/src/qtui/chatview.cpp b/src/qtui/chatview.cpp index dc337d57..f9bc1751 100644 --- a/src/qtui/chatview.cpp +++ b/src/qtui/chatview.cpp @@ -30,7 +30,7 @@ ChatView::ChatView(Buffer *buf, QWidget *parent) : QGraphicsView(parent) { _scene = new ChatScene(buf, this); setScene(_scene); - QGraphicsTextItem *item = scene()->addText(buf->name()); + QGraphicsTextItem *item = scene()->addText(buf->bufferInfo().bufferName()); } @@ -44,7 +44,7 @@ ChatScene *ChatView::scene() const { return _scene; } -/* + void ChatView::clear() { } @@ -56,7 +56,7 @@ void ChatView::prependMsg(AbstractUiMsg *msg) { } void ChatView::prependChatLine(ChatLine *line) { - qDebug() << "prepending"; + //qDebug() << "prepending"; } void ChatView::prependChatLines(QList clist) { @@ -70,7 +70,7 @@ void ChatView::appendMsg(AbstractUiMsg *msg) { } void ChatView::appendChatLine(ChatLine *line) { - qDebug() << "appending"; + //qDebug() << "appending"; } @@ -84,4 +84,4 @@ void ChatView::setContents(QList list) { qDebug() << "setting" << list.count(); appendChatLines(list); } -*/ +