diff options
Diffstat (limited to 'lumina-open')
-rw-r--r-- | lumina-open/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp index 70e5b2f7..ecb661e0 100644 --- a/lumina-open/main.cpp +++ b/lumina-open/main.cpp @@ -281,6 +281,7 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat cmd.replace("%F","\""+inFile+"\""); }else if( (cmd.contains("%U") || cmd.contains("%u")) ){ //Apply any special field replacements for the desired format + if(!inFile.contains("://")){ inFile.prepend("file:"); } //local file - add the extra flag inFile.replace(" ", "%20"); //Now replace the field codes cmd.replace("%u","\""+inFile+"\""); |