┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphinview.cpp12
-rw-r--r--src/dolphinview.h5
2 files changed, 0 insertions, 17 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 920224583..abb0e9f86 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -951,18 +951,6 @@ void DolphinView::createView()
m_controller, SLOT(indicateSelectionChange()));
}
-int DolphinView::columnIndex(Sorting sorting) const
-{
- int index = 0;
- switch (sorting) {
- case SortByName: index = KDirModel::Name; break;
- case SortBySize: index = KDirModel::Size; break;
- case SortByDate: index = KDirModel::ModifiedTime; break;
- default: assert(false);
- }
- return index;
-}
-
void DolphinView::selectAll(QItemSelectionModel::SelectionFlags flags)
{
QItemSelectionModel* selectionModel = itemView()->selectionModel();
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 5b820fe8e..7d6e1288f 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -479,11 +479,6 @@ private:
void createView();
/**
- * Returns the column index used in the KDirModel depending on \a sorting.
- */
- int columnIndex(Sorting sorting) const;
-
- /**
* Selects all items by using the selection flags \a flags. This is a helper
* method for the slots DolphinView::selectAll() and DolphinView::invertSelection().
*/