mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 07:11:51 +00:00
Return the right result for copying progress bars
This commit is contained in:
1 parent
3d2c4a5b32
commit
913554c005
1 file changed
+2
-2
@@ -190,7 +190,7 @@ QString RenderManager::CopyCaptureToRemote(const QString &localpath, QWidget *wi
|
||||
}
|
||||
|
||||
ShowProgressDialog(window, QApplication::translate("RenderManager", "Transferring..."),
|
||||
[&copied]() { return !copied; }, [&progress]() { return progress; });
|
||||
[&copied]() { return copied; }, [&progress]() { return progress; });
|
||||
|
||||
return remotepath;
|
||||
}
|
||||
@@ -223,7 +223,7 @@ void RenderManager::CopyCaptureFromRemote(const QString &remotepath, const QStri
|
||||
}
|
||||
|
||||
ShowProgressDialog(window, QApplication::translate("RenderManager", "Transferring..."),
|
||||
[&copied]() { return !copied; }, [&progress]() { return progress; });
|
||||
[&copied]() { return copied; }, [&progress]() { return progress; });
|
||||
}
|
||||
|
||||
bool RenderManager::IsRunning()
|
||||
|
||||
Reference in new issue
Block a user