Mercurial > dedupe
view Apps/DeDupe.cpp @ 82:f507a7240bc9
Functionality for easy clearing of a query when throwing an exception.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 10 Oct 2013 14:13:01 +0200 |
| parents | f711ddb56ae7 |
| 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); } }
