X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/56a81a196f9db867bc69f23fe46c239045f784ca..233a08164f79d9909693c5de438f856467ad5b76:/src/dolphinview.cpp 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()