diff options
| author | Peter Penz <[email protected]> | 2007-02-17 06:29:17 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-02-17 06:29:17 +0000 |
| commit | 73a9e20701c4265dd9b56f9ecdd0012d6287c041 (patch) | |
| tree | 65434295ff0afaa20839ee756275af045296af3a /src/dolphinview.cpp | |
| parent | 546384562ae872614cd0c8fa568bd65ae41885da (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.cpp | 12 |
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(); |
