mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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:
parent
5ab90e19e7
commit
643550b9d7
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue