From: Peter Penz Date: Sun, 16 Mar 2008 11:40:22 +0000 (+0000) Subject: fixed issue that no preview is generated if the user hovers the viewport within a... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/43333dc7032433ae494f061338c7824dd4b54fdc?ds=inline fixed issue that no preview is generated if the user hovers the viewport within a small timeframe svn path=/trunk/KDE/kdebase/apps/; revision=786210 --- diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index d5aebe8b2..3b7bd1680 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -194,6 +194,7 @@ void InfoSidebarPage::showItemInfo() if (!file.isValid()) { return; } + const int itemCount = selectedItems.count(); if (itemCount > 1) { KIconLoader iconLoader; @@ -275,7 +276,6 @@ bool InfoSidebarPage::applyPlace(const KUrl& url) void InfoSidebarPage::cancelRequest() { m_timer->stop(); - m_pendingPreview = false; } void InfoSidebarPage::showMetaInfo()