From bf21a068285e974fc96dfea277728fd36c32d5a2 Mon Sep 17 00:00:00 2001 From: luddens Date: Thu, 23 May 2019 15:51:58 +0200 Subject: [PATCH] remove the scheme warning --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 2c81887..157b341 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,10 +2,13 @@ #include #include +#include int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QWebEngineUrlScheme scheme("zim"); + QWebEngineUrlScheme::registerScheme(scheme); KiwixApp a(argc, argv); QCommandLineParser parser;