From 643550b9d75c5993ccd954da4c8540fb834d22fb Mon Sep 17 00:00:00 2001 From: Ivo Anjo Date: Sat, 17 May 2008 11:35:36 +0000 Subject: [PATCH] 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 --- src/infosidebarpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index d2652e0d1..cb90fce3e 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -347,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. -- 2.47.3