diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-18 12:46:51 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-18 12:46:51 +0100 |
commit | 630592544d719fdda8e4c942329492d1a41a8b14 (patch) | |
tree | cbefff9943b439f6e77697d35ef12bc30fa38c56 | |
parent | 2c2a4f6b98150078a6e1a1312e6e86a7cc448a87 (diff) | |
download | sink-630592544d719fdda8e4c942329492d1a41a8b14.tar.gz sink-630592544d719fdda8e4c942329492d1a41a8b14.zip |
The QGuiApplication does not seem to be necessary for QTextDocument.
..as long as we link to QtGui.
-rw-r--r-- | synchronizer/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp index f4bac73..3f79207 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 <QGuiApplication> | 20 | #include <QCoreApplication> |
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 | QGuiApplication app(argc, argv); | 229 | QCoreApplication app(argc, argv); |
230 | app.setQuitLockEnabled(false); | 230 | app.setQuitLockEnabled(false); |
231 | 231 | ||
232 | QByteArrayList arguments; | 232 | QByteArrayList arguments; |