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
This commit is contained in:
@@ -292,7 +292,7 @@ TrackerCopyLoopControl::TrackerCopyLoopControl(int32 totalItems,
|
|||||||
fThread(find_thread(NULL)),
|
fThread(find_thread(NULL)),
|
||||||
fSourceList(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)
|
const entry_ref* destDir, bool showCount)
|
||||||
{
|
{
|
||||||
if (gStatusWindow != NULL) {
|
if (gStatusWindow != NULL) {
|
||||||
gStatusWindow->InitStatusItem(fThread, totalItems, totalItems,
|
gStatusWindow->InitStatusItem(fThread, totalItems, totalSize,
|
||||||
destDir, showCount);
|
destDir, showCount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user