diff options
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 638e6e7cb..52dac968b 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -1160,10 +1160,7 @@ void DolphinView::slotRefreshItems() { if (m_assureVisibleCurrentIndex) { m_assureVisibleCurrentIndex = false; - // Invoking itemView()->scrollTo(itemView()->currentIndex()) is - // not sufficient, as QListView and QTreeView have an inconsistent - // default behavior. - m_controller->triggerScrollToCurrentItem(); + itemView()->scrollTo(itemView()->currentIndex()); } } |
