Reorganization of includes (Part 2)

This commit is contained in:
Xphalnos 2024-08-30 15:48:21 +02:00
parent 6080066f75
commit 7886761476
39 changed files with 45 additions and 36 deletions

View file

@ -140,7 +140,7 @@ public:
new CheatsPatches(gameName, gameSerial, gameVersion, gameSize, gameImage);
cheatsPatches->show();
connect(widget->parent(), &QWidget::destroyed, cheatsPatches,
[widget, cheatsPatches]() { cheatsPatches->deleteLater(); });
[cheatsPatches]() { cheatsPatches->deleteLater(); });
}
if (selected == &openTrophyViewer) {

View file

@ -366,7 +366,7 @@ void MainWindow::CreateConnects() {
panelDialog->accept();
});
connect(downloadAllPatchesButton, &QPushButton::clicked, this, [this, panelDialog]() {
connect(downloadAllPatchesButton, &QPushButton::clicked, [panelDialog]() {
QEventLoop eventLoop;
int pendingDownloads = 0;