mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 00:03:42 +00:00
Rename CaptureDialog::TriggerCapture to Launch as better naming
This commit is contained in:
3 files changed
+7
-7
No files matched your search
@@ -1024,7 +1024,7 @@ QWidget.
|
||||
virtual CaptureSettings Settings() = 0;
|
||||
|
||||
DOCUMENT("Launches a capture of the current executable.");
|
||||
virtual void TriggerCapture() = 0;
|
||||
virtual void Launch() = 0;
|
||||
|
||||
DOCUMENT(R"(Loads settings from a file and applies them. See :meth:`SetSettings`.
|
||||
|
||||
|
||||
@@ -628,7 +628,7 @@ void CaptureDialog::lineEdit_keyPress(QKeyEvent *ev)
|
||||
if((ev->key() == Qt::Key_Return || ev->key() == Qt::Key_Enter) &&
|
||||
ev->modifiers() & Qt::ControlModifier)
|
||||
{
|
||||
TriggerCapture();
|
||||
Launch();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -900,12 +900,12 @@ void CaptureDialog::on_loadLastCapture_clicked()
|
||||
|
||||
void CaptureDialog::on_launch_clicked()
|
||||
{
|
||||
TriggerCapture();
|
||||
Launch();
|
||||
}
|
||||
|
||||
void CaptureDialog::on_processList_activated(const QModelIndex &index)
|
||||
{
|
||||
TriggerCapture();
|
||||
Launch();
|
||||
}
|
||||
|
||||
void CaptureDialog::SetSettings(CaptureSettings settings)
|
||||
@@ -949,7 +949,7 @@ void CaptureDialog::SetSettings(CaptureSettings settings)
|
||||
|
||||
if(settings.autoStart)
|
||||
{
|
||||
TriggerCapture();
|
||||
Launch();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1168,7 +1168,7 @@ void CaptureDialog::SetEnvironmentModifications(const rdcarray<EnvironmentModifi
|
||||
ui->envVar->setText(envModText);
|
||||
}
|
||||
|
||||
void CaptureDialog::TriggerCapture()
|
||||
void CaptureDialog::Launch()
|
||||
{
|
||||
if(IsInjectMode())
|
||||
{
|
||||
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
void SetSettings(CaptureSettings settings) override;
|
||||
CaptureSettings Settings() override;
|
||||
|
||||
void TriggerCapture() override;
|
||||
void Launch() override;
|
||||
|
||||
void LoadSettings(const rdcstr &filename) override;
|
||||
void SaveSettings(const rdcstr &filename) override;
|
||||
|
||||
Reference in new issue
Block a user