diff options
Diffstat (limited to 'konqueror')
-rw-r--r-- | konqueror/listview/konq_listviewwidget.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/konqueror/listview/konq_listviewwidget.cc b/konqueror/listview/konq_listviewwidget.cc index ad7ada2c4..4d7866f64 100644 --- a/konqueror/listview/konq_listviewwidget.cc +++ b/konqueror/listview/konq_listviewwidget.cc @@ -961,7 +961,7 @@ void KonqBaseListViewWidget::selectedItems( TQPtrList<KonqBaseListViewItem> *_li { iterator it = begin(); for ( ; it != end(); it++ ) - if ( it->isSelected() ) + if ( it->isVisible() && it->isSelected() ) _list->append( &*it ); } @@ -982,7 +982,7 @@ KFileItemList KonqBaseListViewWidget::selectedFileItems() KFileItemList list; iterator it = begin(); for ( ; it != end(); it++ ) - if ( it->isSelected() ) + if ( it->isVisible() && it->isSelected() ) list.append( it->item() ); return list; } @@ -993,7 +993,7 @@ KURL::List KonqBaseListViewWidget::selectedUrls( bool mostLocal ) KURL::List list; iterator it = begin(); for ( ; it != end(); it++ ) - if ( it->isSelected() ) + if ( it->isVisible() && it->isSelected() ) list.append( mostLocal ? it->item()->mostLocalURL( dummy ) : it->item()->url() ); return list; } |