summaryrefslogtreecommitdiffstats
path: root/synchronizer
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-02 22:48:25 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-02 22:48:25 +0200
commite291d7647d8c601b8ef7af343f9ef7f6d4c5b49c (patch)
treeb2803458249bac6063200e7692faa736391fce43 /synchronizer
parent840d62421322e8eb3ccfe5f6df301cde65bc4004 (diff)
downloadsink-e291d7647d8c601b8ef7af343f9ef7f6d4c5b49c.tar.gz
sink-e291d7647d8c601b8ef7af343f9ef7f6d4c5b49c.zip
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.
Diffstat (limited to 'synchronizer')
-rw-r--r--synchronizer/main.cpp4
1 files 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 @@
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */ 18 */
19 19
20#include <QCoreApplication> 20#include <QGuiApplication>
21#include <QLockFile> 21#include <QLockFile>
22#include <QDir> 22#include <QDir>
23 23
@@ -226,7 +226,7 @@ int main(int argc, char *argv[])
226 226
227 qInstallMessageHandler(qtMessageHandler); 227 qInstallMessageHandler(qtMessageHandler);
228 228
229 QCoreApplication app(argc, argv); 229 QGuiApplication app(argc, argv);
230 app.setQuitLockEnabled(false); 230 app.setQuitLockEnabled(false);
231 231
232 QByteArrayList arguments; 232 QByteArrayList arguments;