1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

Rename "filename" to "filePath". Previous name was misleading at best.

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
This commit is contained in:
Joakim Thorén
2024-11-24 15:16:17 +01:00
committed by GitHub
parent 1b9b925ab9
commit 3304e55346

View File

@@ -482,8 +482,8 @@ void MainWindow::on_actionOpenRecent_triggered()
auto onSelect = [this, &d](QListWidgetItem *item) {
if(getAnswerAboutUnsavedChanges()) {
QString filename = item->text();
openMap(filename);
QString filePath = item->text();
openMap(filePath);
}
d.close();
};