-rw-r--r-- | core/launcher/launcherview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index e8741a2..7b20fdc 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp | |||
@@ -575,7 +575,16 @@ void LauncherView::internalPopulate( AppLnkSet *folder, const QString& typefilte | |||
575 | icons->setTypeFilter(typefilter,FALSE); | 575 | icons->setTypeFilter(typefilter,FALSE); |
576 | 576 | ||
577 | while ( it.current() ) { | 577 | while ( it.current() ) { |
578 | // show only the icons for existing files | ||
579 | if (!QFile(it.current()->file()).exists() ) | ||
580 | { | ||
581 | //maybe insert some .desktop file deletion code later | ||
582 | //maybe dir specific | ||
583 | } | ||
584 | else | ||
585 | { | ||
578 | icons->addItem(*it,FALSE); | 586 | icons->addItem(*it,FALSE); |
587 | } | ||
579 | ++it; | 588 | ++it; |
580 | } | 589 | } |
581 | 590 | ||