diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-10-15 19:29:55 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-10-15 19:47:20 (GMT) |
commit | 58d405a78bf82b9af63a48175ff0039f8cdd290c (patch) | |
tree | 6d5b2886b2678e65f231eebb17add74b563a4ebf /Swift/QtUI/QtSwift.cpp | |
parent | b91731694dae519acae98a9f78f3655a4c71f03f (diff) | |
download | swift-contrib-58d405a78bf82b9af63a48175ff0039f8cdd290c.zip swift-contrib-58d405a78bf82b9af63a48175ff0039f8cdd290c.tar.bz2 |
Add command-line argument to override language.
Change-Id: Ie86689df58ed5134b1ed558d509d33123eb2bcbc
Diffstat (limited to 'Swift/QtUI/QtSwift.cpp')
-rw-r--r-- | Swift/QtUI/QtSwift.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSwift.cpp b/Swift/QtUI/QtSwift.cpp index 13b2175..223f3ae 100644 --- a/Swift/QtUI/QtSwift.cpp +++ b/Swift/QtUI/QtSwift.cpp @@ -82,6 +82,9 @@ po::options_description QtSwift::getOptionsDescription() { ("latency-debug", "Use latency debugging (unsupported)") ("multi-account", po::value<int>()->default_value(1), "Number of accounts to open windows for (unsupported)") ("start-minimized", "Don't show the login/roster window at startup") +#if QT_VERSION >= 0x040800 + ("language", po::value<std::string>(), "Use a specific language, instead of the system-wide one") +#endif ; return result; } |