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:
parent
02a656d16f
commit
d1e40411dd
@ -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())
|
||||
|
@ -64,8 +64,6 @@ private slots:
|
||||
|
||||
void on_menuOpenRecent_aboutToShow();
|
||||
|
||||
void on_actionOpenRecentMore_triggered();
|
||||
|
||||
void on_actionSave_as_triggered();
|
||||
|
||||
void on_actionNew_triggered();
|
||||
|
Loading…
Reference in New Issue
Block a user