X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtopia%2Fmainwidget.cpp;h=4fde19b7f57b34db7fb512e612d34607868a59c6;hb=2f600006c172342f253f1763620f5e635bc5b86f;hp=287aa79a7a9ccf8fce6646742f8276d830ff4304;hpb=8f6f3932998ffb3778e4e077dfb301da4cf34c1f;p=quassel.git diff --git a/src/qtopia/mainwidget.cpp b/src/qtopia/mainwidget.cpp index 287aa79a..4fde19b7 100644 --- a/src/qtopia/mainwidget.cpp +++ b/src/qtopia/mainwidget.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-07 by the Quassel IRC Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -55,10 +55,10 @@ void MainWidget::setBuffer(Buffer *buf) { ChatWidget *chatWidget; if(!chatWidgets.contains(buf)) { chatWidget = new ChatWidget(this); - QList lines; + QList lines; QList msgs = buf->contents(); foreach(AbstractUiMsg *msg, msgs) { - lines.append((ChatLine*)(msg)); + lines.append((ChatLineOld*)(msg)); } chatWidget->setContents(lines); connect(buf, SIGNAL(msgAppended(AbstractUiMsg *)), chatWidget, SLOT(appendMsg(AbstractUiMsg *)));