desktop UI: no longer attempt to manually show error notifications

report_error() now does this automatically. So all these odd places in which we tried
to make sure that we show errors are no longer needed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-10-26 15:55:49 +02:00
parent 752d9b60c4
commit e64dcd12bd
6 changed files with 8 additions and 40 deletions

View file

@ -104,8 +104,6 @@ int main(int argc, char **argv)
filesOnCommandLine = !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();