diff options
author | Ken Moore <ken@ixsystems.com> | 2017-07-31 12:50:09 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-07-31 12:50:09 -0400 |
commit | ff6c6a59c8f8aea4a7c0e2d5647f66d51a4c7a58 (patch) | |
tree | 6c9414a6c001d422486d5fc41170f1470df56b70 /src-qt5/desktop-utils/lumina-fm | |
parent | Merge branch 'master' of https://github.com/trueos/lumina (diff) | |
download | lumina-ff6c6a59c8f8aea4a7c0e2d5647f66d51a4c7a58.tar.gz lumina-ff6c6a59c8f8aea4a7c0e2d5647f66d51a4c7a58.tar.bz2 lumina-ff6c6a59c8f8aea4a7c0e2d5647f66d51a4c7a58.zip |
Fix up the grav screensaver a bit so it does not crash on close any more.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp | 2 |
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..06f16ad1 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; |