From 406799c165828cf3c523f591065a930c4c5a4af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 17 Jan 2010 18:39:05 +0000 Subject: [PATCH] Copy and paste bugs prevented the copy progress bar to function properly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35128 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/FSUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index 9510800b1e..077e0802c5 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -292,7 +292,7 @@ TrackerCopyLoopControl::TrackerCopyLoopControl(int32 totalItems, fThread(find_thread(NULL)), fSourceList(NULL) { - Init(totalItems, totalItems); + Init(totalItems, totalSize); } @@ -316,7 +316,7 @@ TrackerCopyLoopControl::Init(int32 totalItems, off_t totalSize, const entry_ref* destDir, bool showCount) { if (gStatusWindow != NULL) { - gStatusWindow->InitStatusItem(fThread, totalItems, totalItems, + gStatusWindow->InitStatusItem(fThread, totalItems, totalSize, destDir, showCount); } }