message: Don't delete QProcess early if qrenderdoc takes too long to run
diff: @@ -408,10 +408,14 @@ void CaptureDialog::vulkanLayerWarn_mouseClick()
  }
  else
  {
  - QProcess process;
  - process.start(qApp->applicationFilePath(), QStringList() << lit("--install_vulkan_layer")
  + QProcess *process = new QProcess;
  + process->start(qApp->applicationFilePath(), QStringList() << lit("--install_vulkan_layer")
  << lit("user"));
  - process.waitForFinished(300);
  + process->waitForFinished(300);
  +
  + // when the process exits, delete
  + QObject::connect(process, OverloadedSlot<int>::of(&QProcess::finished),
  + [process](int exitCode) { process->deleteLater(); });
  }
  }
  