Fix incorrectly reversed check for progress of capture transfers

This commit is contained in:
baldurk
2018-07-24 15:09:49 +01:00
parent a434097f85
commit b08e9c76c0
+2 -2
View File
@@ -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; });
}