From e291d7647d8c601b8ef7af343f9ef7f6d4c5b49c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 2 Apr 2018 22:48:25 +0200 Subject: Revert "The QGuiApplication does not seem to be necessary for QTextDocument." This reverts commit 630592544d719fdda8e4c942329492d1a41a8b14. Depending on the mail we do start crashing. QTextDocument sometimes ends up using the palette which relies on an initialized platform plugin. --- synchronizer/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp index 3f79207..f4bac73 100644 --- a/synchronizer/main.cpp +++ b/synchronizer/main.cpp @@ -17,7 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include +#include #include #include @@ -226,7 +226,7 @@ int main(int argc, char *argv[]) qInstallMessageHandler(qtMessageHandler); - QCoreApplication app(argc, argv); + QGuiApplication app(argc, argv); app.setQuitLockEnabled(false); QByteArrayList arguments; -- cgit v1.2.3