view DeDupe.cpp @ 12:0114be0b5ad4

Fix error string formatting.
author Tom Fredrik Blenning Klaussen <bfg@sim.no>
date Fri, 24 Aug 2012 22:56:43 +0200
parents b5943e4bf676
children b2c2c2bf2bbd
line wrap: on
line source

#include "DataController.hpp"
#include "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);
  }

}