SVN commit 1177602 by aseigo: ensure the file items returned are valid BUG:251842 M +2 -0 popupview.cpp --- trunk/KDE/kdebase/apps/plasma/applets/folderview/popupview.cpp #1177601:1177602 @@ -306,9 +306,11 @@ foreach (const QModelIndex &index, m_selectionModel->selectedIndexes()) { KFileItem item = m_model->itemForIndex(index); + if (!item.isNull()) { hasRemoteFiles |= item.localPath().isEmpty(); items.append(item); } + } // Check if we're showing the menu for the trash link if (items.count() == 1 && items.at(0).isDesktopFile()) {