mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-12 15:56:28 +00:00
23 lines
364 B
C++
23 lines
364 B
C++
|
#include <QApplication>
|
||
|
#include <QTranslator>
|
||
|
#include <QLocale>
|
||
|
|
||
|
#include "tomb.h"
|
||
|
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
QApplication a(argc, argv);
|
||
|
QTranslator translator(0);
|
||
|
|
||
|
|
||
|
translator.load( QString("./i18n/tomb-qt-tray_") + QLocale::system().name() );
|
||
|
|
||
|
a.installTranslator( &translator );
|
||
|
//w.show();
|
||
|
Tomb w;
|
||
|
|
||
|
|
||
|
return a.exec();
|
||
|
}
|