Mercurial > dedupe
comparison updateDeDupe.cpp @ 9:b5943e4bf676
Fix up header includes.
Introduce outer catch.
Fix coding style.
Remove spurious debug output.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 22 Aug 2012 18:48:07 +0200 |
| parents | 5e4985407feb |
| children | f59ee8d3f8ea |
comparison
equal
deleted
inserted
replaced
| 8:d7b384b4a834 | 9:b5943e4bf676 |
|---|---|
| 1 #include "DataController.hpp" | 1 #include "DataController.hpp" |
| 2 #include "Exception.hpp" | |
| 2 | 3 |
| 3 #include <QtGui/QApplication> | 4 #include <QtGui/QApplication> |
| 4 | 5 |
| 6 #include <iostream> | |
| 7 | |
| 5 int main(int argc, char *argv[]) { | 8 int main(int argc, char *argv[]) { |
| 6 | 9 |
| 7 DataController dc(false); | 10 try { |
| 11 DataController dc(false); | |
| 12 } | |
| 13 catch (Exception& e) { | |
| 14 std::cerr << "Unrecoverable error" << e.toString().toStdString(); | |
| 15 exit(1); | |
| 16 } | |
| 17 | |
| 8 } | 18 } |
| 9 | 19 |
| 10 | 20 |
