view Apps/DeDupe.cpp @ 31:bf3dce7fedcb

Remove all references to QDebug
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Thu, 06 Sep 2012 19:14:58 +0200
parents 1072257d2bab
children f711ddb56ae7
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);
  }

}