diff options
author | Ken Moore <moorekou@gmail.com> | 2015-07-21 14:29:14 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-07-21 14:29:14 -0400 |
commit | b5e828986f0a668ce8471e0fbea7d75b373eef13 (patch) | |
tree | 6295015b71cb27135322424a046535ae614a7cfe /libLumina/LuminaSingleApplication.cpp | |
parent | Update/add some localization functions to libLumina. (diff) | |
download | lumina-b5e828986f0a668ce8471e0fbea7d75b373eef13.tar.gz lumina-b5e828986f0a668ce8471e0fbea7d75b373eef13.tar.bz2 lumina-b5e828986f0a668ce8471e0fbea7d75b373eef13.zip |
Change a bit more of the localization/translation mechanisms: Now it is possible to save the translator for use later (instead of always installing a new QTranslator).
Diffstat (limited to 'libLumina/LuminaSingleApplication.cpp')
-rw-r--r-- | libLumina/LuminaSingleApplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaSingleApplication.cpp b/libLumina/LuminaSingleApplication.cpp index 2b3689d8..120e4881 100644 --- a/libLumina/LuminaSingleApplication.cpp +++ b/libLumina/LuminaSingleApplication.cpp @@ -14,7 +14,7 @@ LSingleApplication::LSingleApplication(int &argc, char **argv, QString appname) : QApplication(argc, argv){ //Load the proper translation systems - LUtils::LoadTranslation(this, appname); + cTrans = LUtils::LoadTranslation(this, appname); //save the translator for later //Initialize a couple convenience internal variables cfile = QDir::tempPath()+"/.LSingleApp-%1-%2"; QString username = QString(getlogin()); |