cancel previews if the URL has been changed

svn path=/trunk/KDE/kdebase/apps/; revision=819665
This commit is contained in:
Peter Penz 2008-06-11 17:51:32 +00:00
parent 7e1da6a8e4
commit 2b21d6a992

View file

@ -442,6 +442,7 @@ void DolphinView::updateView(const KUrl& url, const KUrl& rootUrl)
return;
}
m_iconManager->cancelPreviews();
m_controller->setUrl(url); // emits urlChanged, which we forward
if (!rootUrl.isEmpty() && rootUrl.isParentOf(url)) {