view Apps/DeDupe.cpp @ 84:848496a57039

If a filepath cannot be interpreted, make this a non-critical error.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Thu, 10 Oct 2013 14:14:20 +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);
  }

}