[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/plasma/applets/folderview
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2010-09-20 18:43:30
Message-ID: 20100920184330.E989DAC7CB () svn ! kde ! org
[Download RAW message or body]
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()) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic