summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-03-01 19:09:09 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-03-01 19:09:09 (GMT)
commit5271144cb6c0ecf3dc237af25197fa72a8737c09 (patch)
treea2ff0e0461696268fa355951f458afd31eafb88f /Swift
parent80b09214a500bc3c81c59fed8966aa8a7d4a89e6 (diff)
downloadswift-contrib-5271144cb6c0ecf3dc237af25197fa72a8737c09.zip
swift-contrib-5271144cb6c0ecf3dc237af25197fa72a8737c09.tar.bz2
Added extra safety for loading translations.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/main.cpp b/Swift/QtUI/main.cpp
index e04ad92..fc3bf15 100644
--- a/Swift/QtUI/main.cpp
+++ b/Swift/QtUI/main.cpp
@@ -31,7 +31,7 @@ int main(int argc, char* argv[]) {
// Translation
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
- boost::filesystem::path someTranslationPath = Swift::PlatformApplicationPathProvider(SWIFT_APPLICATION_NAME).getResourcePath("/translations/swift_nl.qm");
+ boost::filesystem::path someTranslationPath = Swift::PlatformApplicationPathProvider(SWIFT_APPLICATION_NAME).getResourcePath("/translations/swift_en.qm");
QTranslator qtTranslator;
if (!someTranslationPath.empty()) {
#if QT_VERSION >= 0x040800