┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-02-17 06:29:17 +0000
committerPeter Penz <[email protected]>2007-02-17 06:29:17 +0000
commit73a9e20701c4265dd9b56f9ecdd0012d6287c041 (patch)
tree65434295ff0afaa20839ee756275af045296af3a /src/dolphinview.cpp
parent546384562ae872614cd0c8fa568bd65ae41885da (diff)
Removed method 'int columnIndex(Sorting sorting) const'. The mapping is done outside the class DolphinView already.
svn path=/trunk/KDE/kdebase/apps/; revision=634392
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp12
1 files changed, 0 insertions, 12 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();