summaryrefslogtreecommitdiffstats
path: root/subsurface-downloader-main.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-11-16 13:05:06 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-03 13:26:55 -0800
commit85f8978e740a5a6d9c3e1aefa2bf3dd1dfe5f584 (patch)
tree21eaf0c096df8b6e5b668aece20033242eb4b638 /subsurface-downloader-main.cpp
parentb39e77071e79b31996151434970e1baa5249c0a4 (diff)
downloadsubsurface-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>
Diffstat (limited to 'subsurface-downloader-main.cpp')
-rw-r--r--subsurface-downloader-main.cpp2
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();