summaryrefslogtreecommitdiff
path: root/core/launcher
Unidiff
Diffstat (limited to 'core/launcher') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index fa46543..6e63fca 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -492,6 +492,5 @@ bool LauncherIconView::removeLink(const QString& linkfile)
492 l = item->appLnk(); 492 l = item->appLnk();
493 if ( l->linkFileKnown() && l->linkFile() == linkfile 493 if ( ( l->linkFileKnown() && ( l->linkFile() == linkfile ))
494 || l->fileKnown() && ( 494 || ( l->fileKnown() && ( l->file() == linkfile ))
495 l->file() == linkfile 495 || ( dl.fileKnown() && l->fileKnown() && ( dl.file() == l->file() )) ) {
496 || dl.isValid() && dl.file() == l->file() ) ) {
497 delete item; 496 delete item;
@@ -504,5 +503,5 @@ bool LauncherIconView::removeLink(const QString& linkfile)
504 ++it; 503 ++it;
505 if ( l->linkFileKnown() && l->linkFile() == linkfile 504 if ( ( l->linkFileKnown() && ( l->linkFile() == linkfile ))
506 || l->file() == linkfile 505 || ( l->file() == linkfile )
507 || dl.isValid() && dl.file() == l->file() ) { 506 || ( dl.fileKnown() && ( dl.file() == l->file() )) ) {
508 hidden.removeRef(l); 507 hidden.removeRef(l);