diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-11-16 13:05:06 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-03 13:26:55 -0800 |
commit | 85f8978e740a5a6d9c3e1aefa2bf3dd1dfe5f584 (patch) | |
tree | 21eaf0c096df8b6e5b668aece20033242eb4b638 | |
parent | b39e77071e79b31996151434970e1baa5249c0a4 (diff) | |
download | subsurface-85f8978e740a5a6d9c3e1aefa2bf3dd1dfe5f584.tar.gz |
downloader: this is a QCoreApplication
This prevents it from trying to open a display.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
-rw-r--r-- | subsurface-downloader-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-downloader-main.cpp b/subsurface-downloader-main.cpp index 6582cf9dc..5cd0b1444 100644 --- a/subsurface-downloader-main.cpp +++ b/subsurface-downloader-main.cpp @@ -33,7 +33,7 @@ int main(int argc, char **argv) int i; bool no_filenames = true; - std::unique_ptr<QApplication> app(new QApplication(argc, argv)); + std::unique_ptr<QCoreApplication> app(new QCoreApplication(argc, argv)); QStringList files; QStringList importedFiles; QStringList arguments = QCoreApplication::arguments(); |