mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Fix compilation error
This commit is contained in:
@ -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()) {
|
||||
|
Reference in New Issue
Block a user