1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +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 <QMessageBox> // For QT_REQUIRE_VERSION
#include <iostream> #include <iostream>
#include <qtwebengineglobal.h>
#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__) #if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__)
#include <signal.h> #include <signal.h>
@ -161,6 +162,8 @@ int main(int argc, char* argv[])
MainApplication app(argc, argv); MainApplication app(argc, argv);
QtWebEngine::initialize();
if (app.isClosing()) if (app.isClosing())
return 0; return 0;