1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-17 20:58:07 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();
};