From ddcd3abc1b3779c832dc6591766f49887e2e43e9 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 17 Feb 2015 09:38:27 -0500 Subject: Clean up a few things in Lumina: 1) When finding a file mimetype, try a case-insensitive filter if nothing came out of the case-sensitive search. 2) lumina-fm: when removing a slideshow file, try to automatically go to the next/previous picture instead of index=0; 3) Add a bunch more processEvents() calls to the lumina-fm file operations dialog. This should keep the UI's more responsive and update the visuals more often while running operations on large numbers of files. 4) lumina-fm: Fix another upper->lower case extension issue when checking if a file is supported by Qt's read/write operations. --- lumina-open/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lumina-open') 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