aboutsummaryrefslogtreecommitdiff
path: root/lumina-open
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-open')
-rw-r--r--lumina-open/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp
index 0d4a6d26..4dab7ed0 100644
--- a/lumina-open/main.cpp
+++ b/lumina-open/main.cpp
@@ -70,7 +70,9 @@ QString cmdFromUser(int argc, char **argv, QString inFile, QString extension, QS
//First check to see if there is a default for this extension
QString defApp;
if(extension=="mimetype"){
+ //qDebug() << "inFile:" << inFile;
QStringList matches = LXDG::findAppMimeForFile(inFile, true).split("::::"); //allow multiple matches
+ //qDebug() << "Matches:" << matches;
for(int i=0; i<matches.length(); i++){
defApp = LXDG::findDefaultAppForMime(matches[i]);
if(!defApp.isEmpty()){ extension = matches[i]; break; }
bgstack15