aboutsummaryrefslogtreecommitdiff
path: root/lumina-open/main.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-09-08 13:11:01 -0400
committerKen Moore <ken@pcbsd.org>2014-09-08 13:11:01 -0400
commit496ffc4284a18d96eda05770abbcc20b63f1c7a1 (patch)
treeef9d49ef55498efc904a652f10c7e71a61c92c12 /lumina-open/main.cpp
parentAlso make sure that lumina-open uses the current locale encoding for translat... (diff)
downloadlumina-496ffc4284a18d96eda05770abbcc20b63f1c7a1.tar.gz
lumina-496ffc4284a18d96eda05770abbcc20b63f1c7a1.tar.bz2
lumina-496ffc4284a18d96eda05770abbcc20b63f1c7a1.zip
Fix a bug where a directory was not getting the input file added to the lumina-fm command properly.
Diffstat (limited to 'lumina-open/main.cpp')
-rw-r--r--lumina-open/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp
index 5000c2ac..9b35e19e 100644
--- a/lumina-open/main.cpp
+++ b/lumina-open/main.cpp
@@ -196,6 +196,7 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat
bool useInputFile = false;
if(extension=="directory" && !showDLG){
cmd = "lumina-fm";
+ useInputFile=true;
}else if(extension=="desktop" && !showDLG){
bool ok = false;
XDGDesktop DF = LXDG::loadDesktopFile(inFile, ok);
bgstack15