summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authore-ruei1@ti.com2017-08-28 17:26:54 -0500
committerJacob Stiffler2017-08-28 11:30:38 -0500
commitd3ecf8d0dff3e4f901d588ea0dfe485733dfc9dc (patch)
treeb5ca965c5803b89e6325bf602b49d9746aa16f55 /MatrixWebView.cpp
parent78ad5db716d1abc4c05abfe435f066b6b88454d5 (diff)
downloadmatrix_browser-d3ecf8d0dff3e4f901d588ea0dfe485733dfc9dc.tar.gz
matrix_browser-d3ecf8d0dff3e4f901d588ea0dfe485733dfc9dc.tar.xz
matrix_browser-d3ecf8d0dff3e4f901d588ea0dfe485733dfc9dc.zip
matrix_browser: update for QWebEngine from QWebKitHEADmaster
Replace QWebkit with QWebEngine because QWebkit is obslete. Signed-off-by: Eric Ruei <e-ruei1@ti.com> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
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