From 5bb2a0f3c9f2d07dcb0739b88e37b203b451ecf3 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 22 Sep 2010 19:39:46 +0000 Subject: Unbelievable: I simply forgot to implement the Stop-action in Dolphin since KDE SC 4.0. Well better later than never: Done now :-) BUG: 233836 svn path=/trunk/KDE/kdebase/apps/; revision=1178344 --- src/views/dolphinview.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/views/dolphinview.cpp') diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index d4f489615..e9bee3186 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -437,6 +437,11 @@ void DolphinView::reload() restoreState(restoreStream); } +void DolphinView::stopLoading() +{ + m_viewAccessor.dirLister()->stop(); +} + void DolphinView::refresh() { const bool oldActivationState = m_active; @@ -1161,6 +1166,8 @@ void DolphinView::slotLoadingCompleted() // Restore the contents position. This has to be done using a Qt::QueuedConnection // because the view might not be in its final state yet. QMetaObject::invokeMethod(this, "restoreContentsPosition", Qt::QueuedConnection); + + emit finishedPathLoading(url()); } void DolphinView::slotRefreshItems() -- cgit v1.3