X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fchatwidget.cpp;h=e60083b1bc0c132553fc3c57b8aea26ea97c8941;hp=4475962b350eb751055b84692fca437fb0786122;hb=9b63f3ec74f5e2b94e223f0e9b6dc3292787375f;hpb=e9772bbd46ac2006b3f283bfc9f06b013d174ae3 diff --git a/src/qtopia/chatwidget.cpp b/src/qtopia/chatwidget.cpp index 4475962b..e60083b1 100644 --- a/src/qtopia/chatwidget.cpp +++ b/src/qtopia/chatwidget.cpp @@ -34,13 +34,13 @@ void ChatWidget::setContents(QList lines) { } void ChatWidget::prependMsg(AbstractUiMsg *msg) { - ChatLine *line = dynamic_cast(msg); + ChatLine *line = static_cast(msg); Q_ASSERT(line); prependChatLine(line); } void ChatWidget::appendMsg(AbstractUiMsg *msg) { - ChatLine *line = dynamic_cast(msg); + ChatLine *line = static_cast(msg); Q_ASSERT(line); appendChatLine(line); }