aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-08-02 20:54:13 +0000
committerWeblate <noreply@weblate.org>2017-08-02 20:54:13 +0000
commite368f8d99895fdc85fc9b39b7cc223b331c91dd4 (patch)
treeac9ca74c99caf05639f595a23ee25a478eb83e80 /src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
parentTranslated using Weblate (Spanish) (diff)
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-e368f8d99895fdc85fc9b39b7cc223b331c91dd4.tar.gz
lumina-e368f8d99895fdc85fc9b39b7cc223b331c91dd4.tar.bz2
lumina-e368f8d99895fdc85fc9b39b7cc223b331c91dd4.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp b/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
index 257d2f23..d5f219bb 100644
--- a/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
@@ -275,7 +275,7 @@ void BrowserWidget::itemDataAvailable(QIcon ico, LFileInfo *info){
int num = 0;
if(listWidget!=0){
//LIST WIDGET - name and icon only
- if(info->isDesktopFile()){
+ if(info->isDesktopFile() && info->XDG()->isValid()){
QList<QListWidgetItem*> items = listWidget->findItems(info->XDG()->name, Qt::MatchExactly);
//Could be multiple items with the same text in this case - check paths as well
bool found = false;
bgstack15