From dc6bd8046f35993cae0f3659fd2420e18d0fe472 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 24 Oct 2008 19:52:28 +0000 Subject: Assure that no reloading is done if KDirLister emits a redirection, only change the the URL. Thanks to David Faure and Albert Alstals Cid for the detailed analysis! BUG: 155591 svn path=/trunk/KDE/kdebase/apps/; revision=875554 --- src/dolphinview.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 6c67f986b..170bc6bf8 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -85,7 +85,8 @@ public: { /** * The directory items are shown as icons including an - * icon name. */ + * icon name. + */ IconsView = 0, /** @@ -525,6 +526,12 @@ signals: */ void startedPathLoading(const KUrl& url); + /** + * Emitted when KDirLister emits redirection. + * Testcase: fish://localhost + */ + void redirection(const KUrl& oldUrl, const KUrl& newUrl); + protected: /** @see QWidget::mouseReleaseEvent */ virtual void mouseReleaseEvent(QMouseEvent* event); @@ -607,12 +614,6 @@ private slots: */ void slotDeleteFileFinished(KJob* job); - /** - * Called when KDirLister emits redirection. - * Testcase: fish://localhost - */ - void slotRedirection(const KUrl& oldUrl, const KUrl& newUrl); - /** * Is emitted if the controller requests a changing of the current * URL to \a url -- cgit v1.3