From 291d7651311d62a31677367d8a58ab57d9c3d9e7 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Mon, 3 Feb 2014 23:14:14 +0200 Subject: set default locale to system locale --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 74bdf71..14f116c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,5 @@ #include +#include #include @@ -8,6 +9,8 @@ int main(int argc, char *argv[]) { + QLocale::setDefault(QLocale::system()); + QCoreApplication::setOrganizationName("oswjk"); QCoreApplication::setApplicationName("unitmaster"); QCoreApplication::setApplicationVersion(STRINGIFY(UNITMASTER_VERSION)); -- cgit v1.2.3