diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 08:35:59 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 08:38:16 -0700 |
commit | 0ea86d83c14dde31b36eb6d3ad3a8dcf10706e22 (patch) | |
tree | fc36852ab53d9768c10d312a0a04e4747034cfce /qt-gui.cpp | |
parent | 48a3d1b79cd94b872e4aa974f0954d42c7c64d09 (diff) | |
download | subsurface-0ea86d83c14dde31b36eb6d3ad3a8dcf10706e22.tar.gz |
Calendar Widget: set the locale appropriate first day of the week
Also adjust the minimum size, given I changed this in commit
26855234acef ("Make date widget easier to read").
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index 23dc8b75f..4dc21e88f 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -103,6 +103,11 @@ QString uiLanguage(QLocale *callerLoc) return uiLang; } +QLocale getLocale() +{ + return loc; +} + void init_ui(void) { // tell Qt to use system proxies |