Fix other instances of -Wunused-lambda-capture

This commit is contained in:
baldurk committed 2026-10-24 02:09:55 +01:00
1 parent 6c7dd63164
commit e99d699ccd
2 files changed
+3 -1

No files matched your search

@@ -470,6 +470,8 @@ void CaptureDialog::vulkanLayerWarn_mouseClick()
bool needReg = RENDERDOC_NeedVulkanLayerRegistration(NULL);
ui->vulkanLayerWarn->setVisible(needReg);
(void)admin;
#if !defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
// can't alert the user on linux because the command might still be running - there's
// seemingly no portable way to wait for the command to finish.
+1 -1
View File
@@ -2873,7 +2873,7 @@ void MainWindow::on_action_Open_RGP_Profile_triggered()
return;
QString path;
m_Ctx.Replay().BlockAccessInvoke([this, &path](ICaptureAccess *access) {
m_Ctx.Replay().BlockAccessInvoke([&path](ICaptureAccess *access) {
int idx = access->FindSectionByType(SectionType::AMDRGPProfile);
if(idx < 0)