|
|
@ -246,9 +246,8 @@ int main(int argv, char** argc) try { |
|
|
|
QTextCodec::setCodecForCStrings(utf8); |
|
|
|
QTextCodec::setCodecForCStrings(utf8); |
|
|
|
QTextCodec::setCodecForLocale(utf8); |
|
|
|
QTextCodec::setCodecForLocale(utf8); |
|
|
|
QTextCodec::setCodecForTr(utf8); |
|
|
|
QTextCodec::setCodecForTr(utf8); |
|
|
|
app.setWindowIcon(QIcon(":/icons/appicon |
|
|
|
|
|
|
|
")); |
|
|
|
|
|
|
|
QApplication app(argv, argc); |
|
|
|
QApplication app(argv, argc); |
|
|
|
|
|
|
|
app.setWindowIcon(QIcon(":/icons/appicon")); |
|
|
|
QTranslator qtTranslator; |
|
|
|
QTranslator qtTranslator; |
|
|
|
if (env.contains("LANGUAGE")) QLocale::setDefault(env["LANGUAGE"]); |
|
|
|
if (env.contains("LANGUAGE")) QLocale::setDefault(env["LANGUAGE"]); |
|
|
|
qtTranslator.load(":/language/qt_" + QLocale::system().name()); |
|
|
|
qtTranslator.load(":/language/qt_" + QLocale::system().name()); |
|
|
|