┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-12-03 20:49:53 +0000
committerPeter Penz <[email protected]>2009-12-03 20:49:53 +0000
commitebf33317555336aac15253591ebfc0c0f564bdca (patch)
treedad3650a5123181be9bf0014c889e6f306f255dd /src
parentdef7e952fbc3eaa5f27ff78e46b4549d0e7e139e (diff)
removed workaround for KDE 4.0, that is obviously not required anymore
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1058033
Diffstat (limited to 'src')
-rw-r--r--src/dolphinview.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index fe4296409..54294161d 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -577,13 +577,7 @@ void DolphinView::setUrl(const KUrl& url)
void DolphinView::selectAll()
{
- QAbstractItemView* view = m_viewAccessor.itemView();
- // TODO: there seems to be a bug in QAbstractItemView::selectAll(); if
- // the Ctrl-key is pressed (e. g. for Ctrl+A), selectAll() inverts the
- // selection instead of selecting all items. This is bypassed for KDE 4.0
- // by invoking clearSelection() first.
- view->clearSelection();
- view->selectAll();
+ m_viewAccessor.itemView()->selectAll();
}
void DolphinView::invertSelection()