summaryrefslogtreecommitdiffstats
path: root/subsurface-desktop-main.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-10-26 16:24:51 +0200
committerGravatar GitHub <noreply@github.com>2017-10-26 16:24:51 +0200
commita08e8a2d04821b4dcdfabe9f8e2d05a5cdac0d8d (patch)
tree463e846d897487bcaa628c7a8c03b601d4b263cd /subsurface-desktop-main.cpp
parent2c67b387ea5571675db68c46b7879b4746571fd9 (diff)
parent405923ecfdca7993a3f6433eba4f0de0d03161f5 (diff)
downloadsubsurface-a08e8a2d04821b4dcdfabe9f8e2d05a5cdac0d8d.tar.gz
Merge pull request #726 from Subsurface-divelog/rewriteErrorHandling
Rewrite error handling
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();