mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
Remove redundant 'selectedFilePath'. This information is stored in the currently selected widget anyway.
This commit is contained in:
parent
bdaaa0b584
commit
75ad171285
@ -462,7 +462,6 @@ void MainWindow::on_actionOpenRecent_triggered()
|
||||
setMinimumWidth(600);
|
||||
|
||||
auto onSelect = [this](QListWidgetItem *item) {
|
||||
selectedFilePath = item->text();
|
||||
accept();
|
||||
};
|
||||
|
||||
@ -491,7 +490,6 @@ void MainWindow::on_actionOpenRecent_triggered()
|
||||
|
||||
QVBoxLayout * layout;
|
||||
QListWidget * listWidget;
|
||||
QString selectedFilePath;
|
||||
};
|
||||
|
||||
RecentFileDialog d(recentFiles, this);
|
||||
|
Loading…
Reference in New Issue
Block a user