set locale in main()

This commit is contained in:
Martin Brodbeck 2018-07-24 15:37:19 +02:00
parent 669a708bce
commit 1ce329b99b
3 changed files with 7 additions and 2 deletions

View file

@ -6,6 +6,11 @@ int main(int argc, char* argv[])
{
// Q_INIT_RESOURCE(application);
// Set the locale to german, so that currency is correct
//std::locale german("de_DE.utf-8");
std::locale myLocale("");
std::locale::global(myLocale);
QApplication kimaApp{argc, argv};
QCoreApplication::setOrganizationName("RustySoft");