jce-manager/main/main.cpp

18 lines
404 B
C++
Raw Normal View History

2014-06-18 23:44:46 +00:00
#include "mainscreen.h"
#include <QApplication>
2014-06-27 22:22:44 +00:00
#include <QTranslator>
#include <QDebug>
2014-06-18 23:44:46 +00:00
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTranslator translator;
QString locale = QLocale::system().name();
translator.load("jce_"+locale , a.applicationDirPath());
2014-06-27 22:22:44 +00:00
a.installTranslator(&translator);
2014-06-18 23:44:46 +00:00
MainScreen w;
w.show();
return a.exec();
}