aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-desktop-main.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-26 15:55:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-26 15:55:49 +0200
commite64dcd12bd0308d389c0dec6cf2d957e38b3d0f1 (patch)
tree034e933dc61b191a051a6110125bc1ef20869b10 /subsurface-desktop-main.cpp
parent752d9b60c459c51fd5014d91a9e03c84a8f18f38 (diff)
downloadsubsurface-e64dcd12bd0308d389c0dec6cf2d957e38b3d0f1.tar.gz
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>
Diffstat (limited to 'subsurface-desktop-main.cpp')
-rw-r--r--subsurface-desktop-main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp
index 193f8f8a5..49272e3ea 100644
--- a/subsurface-desktop-main.cpp
+++ b/subsurface-desktop-main.cpp
@@ -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();