From 54e32eaf8f3d4622a7b8560ba027745994bda266 Mon Sep 17 00:00:00 2001
From: Akira Ohgaki <akiraohgaki@gmail.com>
Date: Thu, 25 May 2017 07:14:04 +0900
Subject: [PATCH] Fix for GUI module

---
 app/src/main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/main.cpp b/app/src/main.cpp
index 94a9057..15bdaf5 100644
--- a/app/src/main.cpp
+++ b/app/src/main.cpp
@@ -4,7 +4,7 @@
 #include <QLocale>
 #include <QCommandLineParser>
 #include <QCommandLineOption>
-#include <QCoreApplication>
+#include <QGuiApplication>
 #include <QDebug>
 
 #include "handlers/confighandler.h"
@@ -13,7 +13,7 @@
 int main(int argc, char *argv[])
 {
     // Init
-    QCoreApplication app(argc, argv);
+    QGuiApplication app(argc, argv); // This is backend program, but need GUI module
 
     ConfigHandler *configHandler = new ConfigHandler();
     QJsonObject appConfigApplication = configHandler->getAppConfigApplication();
-- 
GitLab