aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-05-22 15:23:16 +0300
committerlink2xt <link2xt@testrun.org>2021-05-22 15:23:16 +0300
commit1860c787e167d1c08e71b15de41ebe7a6b5d0c29 (patch)
tree047ce375c8ae5b63ea5fdccd979c248054b6e431 /main.cpp
parent166d17e61da080ee7b83317b1a97ec2046960706 (diff)
downloadkdeltachat-1860c787e167d1c08e71b15de41ebe7a6b5d0c29.tar.gz
kdeltachat-1860c787e167d1c08e71b15de41ebe7a6b5d0c29.zip
Add HTML view for messages
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 6cbb7a3..57334a4 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,6 +1,7 @@
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QMetaType>
+#include <QtWebEngine>
#include "accounts.h"
#include "message.h"
@@ -13,7 +14,9 @@
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+ QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
+ QtWebEngine::initialize();
QGuiApplication app(argc, argv);
app.setApplicationName("KDeltaChat");