┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2007-03-26 18:34:52 +0000
committerDavid Faure <[email protected]>2007-03-26 18:34:52 +0000
commitad6c01d200e2504de1a383355bd82906fe5c06ed (patch)
tree8adbbc4668426ef54f7fd0fc7d06b441bdd06a80 /src/dolphinmainwindow.cpp
parent1a321e5fbcdaf7d92d023bb1f8f2c6352b3c133e (diff)
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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<UrlNavigator::HistoryElem> list = m_activeView->urlHistory(index);
+ const QList<UrlNavigator::HistoryElem> list = m_activeView->urlHistory(index);
QAction* backAction = actionCollection()->action("go_back");
if (backAction != 0) {