┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index c2ea5ff28..d4609d382 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -870,7 +870,9 @@ void DolphinView::createView()
m_selectionModel = view->selectionModel();
}
- m_selectionModel->setParent(this); //Reparent the selection model. We do not want it to be deleted when we delete the model
+ // reparent the selection model, as it should not be deleted
+ // when deleting the model
+ m_selectionModel->setParent(this);
view->setSelectionMode(QAbstractItemView::ExtendedSelection);