Mercurial > dedupe
view DeDupe.cpp @ 28:b2c2c2bf2bbd
Refactor Exceptions into a separate directory.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 06 Sep 2012 18:29:43 +0200 |
| parents | 0114be0b5ad4 |
| children |
line wrap: on
line source
#include "DataController.hpp" #include "Exception/Exception.hpp" #include <QtGui/QApplication> #include <iostream> int main(int argc, char *argv[]) { try { QApplication app(argc, argv); DataController dc(true); return app.exec(); } catch (Exception& e) { std::cerr << "Unrecoverable error: " << e.toString().toStdString(); exit(1); } }
