mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Connect "actionOpenRecentMore" directly to "on_actionOpenRecent_triggered"
This commit is contained in:
@ -269,6 +269,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||
scenePreview = new QGraphicsScene(this);
|
||||
ui->objectPreview->setScene(scenePreview);
|
||||
|
||||
connect(ui->actionOpenRecentMore, &QAction::triggered, this, &MainWindow::on_actionOpenRecent_triggered);
|
||||
|
||||
//loading objects
|
||||
loadObjectsTree();
|
||||
|
||||
@ -524,11 +526,6 @@ void MainWindow::on_menuOpenRecent_aboutToShow()
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_actionOpenRecentMore_triggered()
|
||||
{
|
||||
on_actionOpenRecent_triggered();
|
||||
}
|
||||
|
||||
void MainWindow::saveMap()
|
||||
{
|
||||
if(!controller.map())
|
||||
|
Reference in New Issue
Block a user