X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/df55b9d89f0b064f1dfa0fd2ca0f6bd08ea0c8e4..2dd39ff2ad49695e4dc9fb0342a96af2cada5e8f:/src/infosidebarpage.cpp diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index a9cc356d4..cb90fce3e 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -152,6 +152,7 @@ void InfoSidebarPage::requestDelayedItemInfo(const KFileItem& item) // The cursor is above the viewport. If files are selected, // show information regarding the selection. if (m_selection.size() > 0) { + m_pendingPreview = false; m_timer->start(TimerDelay); } } else if (!item.url().isEmpty()) { @@ -346,7 +347,7 @@ void InfoSidebarPage::showMetaInfo() m_metaDataWidget->setFiles(urls); } - unsigned long int totalSize = 0; + quint64 totalSize = 0; foreach (const KFileItem& item, m_selection) { // Only count the size of files, not dirs to match what // DolphinViewContainer::selectionStatusBarText() does.