X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtopia%2Fmainwidget.cpp;h=0c9a1ee8217e02347439679e3bd16ce176f1350b;hb=9b63f3ec74f5e2b94e223f0e9b6dc3292787375f;hp=3213e2cd84ba6102568049954c302b1a21c182c9;hpb=d079afedcfa1357afef4a20faf208588b4e97269;p=quassel.git diff --git a/src/qtopia/mainwidget.cpp b/src/qtopia/mainwidget.cpp index 3213e2cd..0c9a1ee8 100644 --- a/src/qtopia/mainwidget.cpp +++ b/src/qtopia/mainwidget.cpp @@ -57,7 +57,7 @@ void MainWidget::setBuffer(Buffer *buf) { QList lines; QList msgs = buf->contents(); foreach(AbstractUiMsg *msg, msgs) { - lines.append(dynamic_cast(msg)); + lines.append((ChatLine*)(msg)); } chatWidget->setContents(lines); connect(buf, SIGNAL(msgAppended(AbstractUiMsg *)), chatWidget, SLOT(appendMsg(AbstractUiMsg *)));