mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Call QtWebEngine::initialize() in main
This commit is contained in:
parent
9d3769c8e6
commit
dad94c64a1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user