]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/infosidebarpage.cpp
people want tabs, give them tabs
[dolphin.git] / src / infosidebarpage.cpp
index a9cc356d41c0b4fea31dc2e5101c84701ec179a3..cb90fce3e741f4239e9bd0902b42304d5bc2fb3a 100644 (file)
@@ -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.