mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Fix incorrectly reversed check for progress of capture transfers
This commit is contained in:
@@ -187,7 +187,7 @@ rdcstr ReplayManager::CopyCaptureToRemote(const rdcstr &localpath, QWidget *wind
|
||||
thread->start();
|
||||
}
|
||||
|
||||
ShowProgressDialog(window, tr("Transferring..."), [&copied]() { return copied == 0; },
|
||||
ShowProgressDialog(window, tr("Transferring..."), [&copied]() { return copied == 1; },
|
||||
[&progress]() { return progress; });
|
||||
|
||||
return remotepath;
|
||||
@@ -221,7 +221,7 @@ void ReplayManager::CopyCaptureFromRemote(const rdcstr &remotepath, const rdcstr
|
||||
thread->start();
|
||||
}
|
||||
|
||||
ShowProgressDialog(window, tr("Transferring..."), [&copied]() { return copied == 0; },
|
||||
ShowProgressDialog(window, tr("Transferring..."), [&copied]() { return copied == 1; },
|
||||
[&progress]() { return progress; });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user