From 1860c787e167d1c08e71b15de41ebe7a6b5d0c29 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 22 May 2021 15:23:16 +0300 Subject: Add HTML view for messages --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 6cbb7a3..57334a4 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #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"); -- cgit v1.2.3-70-g09d2