X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatview.cpp;h=db93f0748cf7bc5d277f757187f4206ca569df6f;hp=54ca6f903eb0a2bb8fa5221162f96c7a61467b2b;hb=22f141be889377b07472bb967d92186dad23be3e;hpb=f3fc0324c8860dff6af722dafbeb05fcb69a0c41 diff --git a/src/qtui/chatview.cpp b/src/qtui/chatview.cpp index 54ca6f90..db93f074 100644 --- a/src/qtui/chatview.cpp +++ b/src/qtui/chatview.cpp @@ -50,9 +50,9 @@ void ChatView::clear() } void ChatView::prependMsg(AbstractUiMsg *msg) { - ChatLine *line = dynamic_cast(msg); - Q_ASSERT(line); - prependChatLine(line); + //ChatLine *line = dynamic_cast(msg); + //Q_ASSERT(line); + //prependChatLine(line); } void ChatView::prependChatLine(ChatLine *line) { @@ -64,9 +64,9 @@ void ChatView::prependChatLines(QList clist) { } void ChatView::appendMsg(AbstractUiMsg *msg) { - ChatLine *line = dynamic_cast(msg); - Q_ASSERT(line); - appendChatLine(line); + //ChatLine *line = dynamic_cast(msg); + //Q_ASSERT(line); + //appendChatLine(line); } void ChatView::appendChatLine(ChatLine *line) { @@ -75,9 +75,9 @@ void ChatView::appendChatLine(ChatLine *line) { void ChatView::appendChatLines(QList list) { - foreach(ChatLine *line, list) { + //foreach(ChatLine *line, list) { - } + //} } void ChatView::setContents(const QList &list) {