aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libLumina/LuminaSingleApplication.cpp2
-rw-r--r--lumina-open/main.cpp2
2 files changed, 2 insertions, 2 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=="."){
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp
index 36d6c1ec..a508ca4d 100644
--- a/lumina-open/main.cpp
+++ b/lumina-open/main.cpp
@@ -171,7 +171,7 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat
}
return;
}else{
- inFile = argv[i];
+ inFile = QString::fromLocal8Bit(argv[i]);
break;
}
}
bgstack15