1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

Connect "actionOpenRecentMore" directly to "on_actionOpenRecent_triggered"

This commit is contained in:
Joakim Thorén 2024-11-24 16:29:34 +01:00
parent 02a656d16f
commit d1e40411dd
2 changed files with 2 additions and 7 deletions

View File

@ -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())

View File

@ -64,8 +64,6 @@ private slots:
void on_menuOpenRecent_aboutToShow();
void on_actionOpenRecentMore_triggered();
void on_actionSave_as_triggered();
void on_actionNew_triggered();