1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

Fix compilation error

This commit is contained in:
Joakim Thorén 2024-11-24 15:24:19 +01:00
parent 2678bf1e05
commit 02a656d16f

View File

@ -479,7 +479,7 @@ void MainWindow::on_actionOpenRecent_triggered()
QListWidget listWidget;
};
RecentFileDialog d(this, recentFiles);
RecentFileDialog d(recentFiles, this);
auto onSelect = [this, &d](QListWidgetItem *item) {
if(getAnswerAboutUnsavedChanges()) {