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:
parent
b39e77071e
commit
85f8978e74
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user