diff options
author | Ken Moore <moorekou@gmail.com> | 2015-12-01 16:44:32 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-12-01 16:44:32 -0500 |
commit | 2f521da9aa36926f5dc451a82ab68fd98d04aefd (patch) | |
tree | 77ded8c753cf87708d341880e8e38325a622b8c9 /libLumina/LuminaSingleApplication.cpp | |
parent | Add a link to the Lumina IRC channel in the lumina-info utility, and also cre... (diff) | |
download | lumina-2f521da9aa36926f5dc451a82ab68fd98d04aefd.tar.gz lumina-2f521da9aa36926f5dc451a82ab68fd98d04aefd.tar.bz2 lumina-2f521da9aa36926f5dc451a82ab68fd98d04aefd.zip |
Fix up the loading of locales through the StartMenu/Session. Now it will properly make the locale changes *if* it could properly load the locale (ensuring consistency between system/session).
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 d349d57a..30507b5e 100644 --- a/libLumina/LuminaSingleApplication.cpp +++ b/libLumina/LuminaSingleApplication.cpp @@ -15,7 +15,7 @@ LSingleApplication::LSingleApplication(int &argc, char **argv, QString appname) : QApplication(argc, argv){ //Load the proper translation systems - cTrans = LUtils::LoadTranslation(this, appname); //save the translator for later + if(appname!="lumina-desktop"){ cTrans = LUtils::LoadTranslation(this, appname); }//save the translator for later //Initialize a couple convenience internal variables cfile = QDir::tempPath()+"/.LSingleApp-%1-%2-%3"; QString username = QString(getlogin()); |