Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (32 sloc) 0.71 kb
//
// Configuration
//
// Headers
#include <exception>
#include <QtCore/QTextStream>
#include <QtGui/QApplication>
#include "mainwindow.h"
// Namespaces
using namespace iRail;
//
// Main
//
int main(int argc, char** argv)
{
try
{
QApplication tApplication(argc, argv);
MainWindow tWindow;
tWindow.show();
return tApplication.exec();
}
catch (std::exception iException)
{
QTextStream qerr(stderr);
qerr << "---------------------------------------\n";
qerr << " UNTRAPPED EXCEPTION \n";
qerr << "---------------------------------------\n";
qerr << "\n";
qerr << iException.what();
}
}
Jump to Line
Something went wrong with that request. Please try again.