Use a quint64 (always 64 bits) instead of a unsigned long int (32 bits

on x86) for summing file sizes of multiple selected files.

BUG: 156911


svn path=/trunk/KDE/kdebase/apps/; revision=808698
This commit is contained in:
Ivo Anjo 2008-05-17 11:35:36 +00:00
parent 5ab90e19e7
commit 643550b9d7

View file

@ -347,7 +347,7 @@ void InfoSidebarPage::showMetaInfo()
m_metaDataWidget->setFiles(urls); m_metaDataWidget->setFiles(urls);
} }
unsigned long int totalSize = 0; quint64 totalSize = 0;
foreach (const KFileItem& item, m_selection) { foreach (const KFileItem& item, m_selection) {
// Only count the size of files, not dirs to match what // Only count the size of files, not dirs to match what
// DolphinViewContainer::selectionStatusBarText() does. // DolphinViewContainer::selectionStatusBarText() does.