From b1e14103f9640e94821133c7ca641d2ecb6ae812 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 16 Jun 2016 12:09:30 -0400 Subject: Have the lumina-open dialog show applications on the main list which also have the hidden flag set (since this is for using the app to launch something else - these apps are now valid to show). --- src-qt5/core/lumina-open/LFileDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core') diff --git a/src-qt5/core/lumina-open/LFileDialog.cpp b/src-qt5/core/lumina-open/LFileDialog.cpp index afc5d296..fbcf007f 100644 --- a/src-qt5/core/lumina-open/LFileDialog.cpp +++ b/src-qt5/core/lumina-open/LFileDialog.cpp @@ -163,7 +163,7 @@ void LFileDialog::generateAppList(bool shownetwork){ //Now get the application mimetype for the file extension (if available) QStringList mimetypes = LXDG::findAppMimeForFile(filePath, true).split("::::"); //use all mimetypes //Now add all the detected applications - QHash< QString, QList > hash = LXDG::sortDesktopCats( LXDG::systemDesktopFiles() ); + QHash< QString, QList > hash = LXDG::sortDesktopCats( LXDG::systemDesktopFiles(false,true) ); QStringList cat = hash.keys(); cat.sort(); //sort alphabetically ui->combo_apps->clear(); -- cgit