properly handling disconnects - this might even fix an antique bug with duplicate...
[quassel.git] / src / qtui / webpreviewitem.cpp
index 7070c11..eb12eea 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <QGraphicsProxyWidget>
 #include <QPainter>
-#include <QWebview>
+#include <QWebView>
 
 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