diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,11 +69,13 @@ int main(int argc, char **argv) files.push_back(cloudURL); } } - MainWindow *m = MainWindow::instance(); m->setLoadedWithFiles(!files.isEmpty() || !importedFiles.isEmpty()); m->loadFiles(files); m->importFiles(importedFiles); + // in case something has gone wrong make sure we show the error message + m->showError(); + if (verbose > 0) print_files(); if (!quit) |