Index: kfile/kdiroperator.cpp
===================================================================
--- kfile/kdiroperator.cpp	(revisión: 744797)
+++ kfile/kdiroperator.cpp	(copia de trabajo)
@@ -1929,6 +1929,10 @@ void KDirOperator::Private::_k_slotActiv
     const QModelIndex dirIndex = proxyModel->mapToSource(index);
     KFileItem item = dirModel->itemForIndex(dirIndex);
     bool selectDir = false;
+
+    if (item.isNull())
+        return;
+
     if (item.isDir()) {
         const Qt::KeyboardModifiers modifiers = QApplication::keyboardModifiers();
         selectDir = KGlobalSettings::singleClick() &&
@@ -1951,6 +1955,10 @@ void KDirOperator::Private::_k_slotDoubl
 
     const QModelIndex dirIndex = proxyModel->mapToSource(index);
     KFileItem item = dirModel->itemForIndex(dirIndex);
+
+    if (item.isNull())
+        return;
+
     if (item.isDir()) {
         parent->selectDir(item);
     } else {
@@ -1982,6 +1990,10 @@ void KDirOperator::Private::_k_openConte
     const QModelIndex proxyIndex = itemView->indexAt(pos);
     const QModelIndex dirIndex = proxyModel->mapToSource(proxyIndex);
     KFileItem item = dirModel->itemForIndex(dirIndex);
+
+    if (item.isNull())
+        return;
+
     parent->activatedMenu(item, QCursor::pos());
 }
 
@@ -1990,6 +2002,10 @@ void KDirOperator::Private::_k_triggerPr
     if ((preview != 0) && index.isValid() && (index.column() == KDirModel::Name)) {
         const QModelIndex dirIndex = proxyModel->mapToSource(index);
         const KFileItem item = dirModel->itemForIndex(dirIndex);
+
+        if (item.isNull())
+            return;
+
         if (!item.isDir()) {
             previewUrl = item.url();
             previewTimer->start(300);
