downloader: this is a QCoreApplication

This prevents it from trying to open a display.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2020-11-16 13:05:06 +01:00 committed by Dirk Hohndel
parent b39e77071e
commit 85f8978e74

View file

@ -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();