blob: 94b10d9fff3f4e02d558c5b613b6cf95c8a86a3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <QApplication>
#include <QTranslator>
#include "MainWindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTranslator translator;
if (translator.load(QLocale(), QLatin1String("corebootconfigurator"), QLatin1String("_"), QLatin1String(":/lang/i18n"))){
a.installTranslator(&translator);
}
MainWindow w;
w.show();
return a.exec();
}
|