fix webpreview for urls with url-encoded chars
[quassel.git] / src / qtui / webpreviewitem.cpp
index 8f49032..45c080c 100644 (file)
@@ -26,7 +26,7 @@
 #include <QPainter>
 #include <QWebView>
 
-WebPreviewItem::WebPreviewItem(const QString &url)
+WebPreviewItem::WebPreviewItem(const QUrl &url)
   : QGraphicsItem(0), // needs to be a top level item as we otherwise cannot guarantee that it's on top of other chatlines
     _boundingRect(0, 0, 400, 300)
 {