Reformat code for clang-format 15

This commit is contained in:
baldurk
2023-09-01 11:45:18 +01:00
parent 4d94209ec1
commit 9d39b8e1a8
330 changed files with 5856 additions and 3850 deletions
+6 -7
View File
@@ -116,11 +116,12 @@ void UpdateDialog::on_close_clicked()
void UpdateDialog::on_update_clicked()
{
QMessageBox::StandardButton res = RDDialog::question(
this, tr("RenderDoc Update"), tr("This will close RenderDoc immediately - if you have any "
"unsaved work, save it first!\n"
"Continue?"),
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel);
QMessageBox::StandardButton res =
RDDialog::question(this, tr("RenderDoc Update"),
tr("This will close RenderDoc immediately - if you have any "
"unsaved work, save it first!\n"
"Continue?"),
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel);
if(res == QMessageBox::Yes)
{
@@ -199,7 +200,6 @@ void UpdateDialog::on_update_clicked()
});
QObject::connect(req, &QNetworkReply::finished, [this, req]() {
// don't do anything if we're finished after an error
if(ui->update->isEnabled())
return;
@@ -252,7 +252,6 @@ void UpdateDialog::on_update_clicked()
QStringList() << lit("upgrade") << lit("--path") << appDir.absolutePath(), NULL, true);
exit(0);
});
}
}