summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixWebView.cpp')
-rw-r--r--MatrixWebView.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/MatrixWebView.cpp b/MatrixWebView.cpp
index 48459b7..72c4967 100644
--- a/MatrixWebView.cpp
+++ b/MatrixWebView.cpp
@@ -37,9 +37,6 @@
37 * 37 *
38*/ 38*/
39 39
40#include <QtWidgets>
41#include <QtNetwork>
42#include <QtWebKitWidgets>
43#include "MatrixWebView.h" 40#include "MatrixWebView.h"
44#include <sys/types.h> 41#include <sys/types.h>
45#include <sys/socket.h> 42#include <sys/socket.h>
@@ -53,7 +50,7 @@ MatrixWebView::MatrixWebView(const QUrl& url)
53 if (::socketpair(AF_UNIX, SOCK_STREAM, 0, sigtermFd)) 50 if (::socketpair(AF_UNIX, SOCK_STREAM, 0, sigtermFd))
54 qFatal("Couldn't create TERM socketpair"); 51 qFatal("Couldn't create TERM socketpair");
55 52
56 view = new QWebView(this); 53 view = new QWebEngineView(this);
57 view->load(url); 54 view->load(url);
58 setCentralWidget(view); 55 setCentralWidget(view);
59 56