From ad6c01d200e2504de1a383355bd82906fe5c06ed Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 26 Mar 2007 18:34:52 +0000 Subject: Using a QLinkedList mostly for "accessing element at index i" is not the best solution performance-wise... use a QList instead. svn path=/trunk/KDE/kdebase/apps/; revision=646813 --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 775ef9864..ebf8a3f82 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1348,7 +1348,7 @@ void DolphinMainWindow::setupDockWidgets() void DolphinMainWindow::updateHistory() { int index = 0; - const QLinkedList list = m_activeView->urlHistory(index); + const QList list = m_activeView->urlHistory(index); QAction* backAction = actionCollection()->action("go_back"); if (backAction != 0) { -- cgit v1.3