X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fwebpreviewitem.cpp;h=eb12eea8fb8b371594224863d09a8195bcbd0c37;hp=7070c1165d5031bac29d0ab4d198bfec98dc8c67;hb=0d49f7e83bd1055711e66aa880f3a0d62f7eefc9;hpb=4e8c5025fef997fcee75673c7bb1ca0a786e064b diff --git a/src/qtui/webpreviewitem.cpp b/src/qtui/webpreviewitem.cpp index 7070c116..eb12eea8 100644 --- a/src/qtui/webpreviewitem.cpp +++ b/src/qtui/webpreviewitem.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include WebPreviewItem::WebPreviewItem(const QString &url) : QGraphicsItem(0), // needs to be a top level item as we otherwise cannot guarantee that it's on top of other chatlines @@ -54,10 +54,6 @@ void WebPreviewItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *op painter->setBrush(Qt::black); painter->setRenderHints(QPainter::Antialiasing); painter->drawRoundedRect(boundingRect(), 10, 10); - - painter->setPen(QPen(Qt::green)); - QString text = QString::number(zValue()); - painter->drawText(_boundingRect.center(), text); } #endif //#ifdef HAVE_WEBKIT