Make the web preview build on Qt4 again
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 25 Mar 2014 21:15:13 +0000 (22:15 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 25 Mar 2014 21:28:20 +0000 (22:28 +0100)
Prefixing the includes with the Qt module broke things for Qt4. It's
not needed anyway, so just remove the prefix.

src/qtui/webpreviewitem.cpp

index 8dcc401..1923707 100644 (file)
@@ -24,8 +24,8 @@
 
 #include <QGraphicsProxyWidget>
 #include <QPainter>
-#include <QtWebKitWidgets/QWebView>
-#include <QtWebKit/QWebSettings>
+#include <QWebView>
+#include <QWebSettings>
 
 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