From 71c00355681fe974554e0bb40daa19fc9bc16592 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 9 Sep 2014 10:29:48 -0400 Subject: Update lumina-open to remove some of the other Exec= flags that might be available (if not handled previously). --- lumina-open/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp index 9b35e19e..bb8967ba 100644 --- a/lumina-open/main.cpp +++ b/lumina-open/main.cpp @@ -230,7 +230,7 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat //This is a directory link - adjust inputs inFile = DF.path; cmd.clear(); - extension = "directorypath"; + extension = "directory"; }else{ qDebug() << "[ERROR] Input *.desktop directory file is missing the Path line:" << inFile; exit(1); @@ -251,7 +251,7 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat } //qDebug() << "Found Command:" << cmd << "Extension:" << extension; //Clean up the command appropriately for output - if(cmd.contains("%")){cmd = cmd.remove("%U").remove("%u").remove("%F").remove("%f").simplified(); } + if(cmd.contains("%")){cmd = cmd.remove("%U").remove("%u").remove("%F").remove("%f").remove("%i").remove("%c").remove("%k").simplified(); } binary = cmd; if(useInputFile){ args = inFile; } } -- cgit