1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Call QtWebEngine::initialize() in main

This commit is contained in:
David Rosca 2015-08-31 21:24:59 +02:00
parent 9d3769c8e6
commit dad94c64a1

View File

@ -22,6 +22,7 @@
#include <QMessageBox> // For QT_REQUIRE_VERSION
#include <iostream>
#include <qtwebengineglobal.h>
#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__)
#include <signal.h>
@ -161,6 +162,8 @@ int main(int argc, char* argv[])
MainApplication app(argc, argv);
QtWebEngine::initialize();
if (app.isClosing())
return 0;