aboutsummaryrefslogtreecommitdiff
path: root/libLumina
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-01 09:33:06 -0500
committerKen Moore <ken@pcbsd.org>2015-01-01 09:33:06 -0500
commit158db259c282e1f3f4857bf5f0e88f74bfc58268 (patch)
treeee7efe4acb650bdb7e9dcde408b5598efdcda64c /libLumina
parentMake the taskmanager plugin capable of two modes: (diff)
downloadlumina-158db259c282e1f3f4857bf5f0e88f74bfc58268.tar.gz
lumina-158db259c282e1f3f4857bf5f0e88f74bfc58268.tar.bz2
lumina-158db259c282e1f3f4857bf5f0e88f74bfc58268.zip
Make sure that any argv[] -> QString translations from CLI input are run through QString::fromLocal8Bit(). This should correctly catch any key presses specific to particular locales.
Diffstat (limited to 'libLumina')
-rw-r--r--libLumina/LuminaSingleApplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaSingleApplication.cpp b/libLumina/LuminaSingleApplication.cpp
index b8947be6..32883036 100644
--- a/libLumina/LuminaSingleApplication.cpp
+++ b/libLumina/LuminaSingleApplication.cpp
@@ -25,7 +25,7 @@ LSingleApplication::LSingleApplication(int &argc, char **argv) : QApplication(ar
lockfile = new QLockFile(cfile+"-lock");
lockfile->setStaleLockTime(0); //long-lived processes
for(int i=1; i<argc; i++){
- QString path = argv[i];
+ QString path = QString::fromLocal8Bit(argv[i]);
//do few quick conversions for relative paths and such as necessary
// (Remember: this is only used for secondary processes, not the primary)
if(path=="."){
bgstack15