mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 17:05:37 +00:00
CWorldEditor: Remove redundant cast
This commit is contained in:
@@ -137,11 +137,11 @@ CWorldEditor::CWorldEditor(QWidget *parent)
|
||||
mpOpenRecentMenu = new QMenu(this);
|
||||
ui->ActionOpenRecent->setMenu(mpOpenRecentMenu);
|
||||
|
||||
for (uint32 iAct = 0; iAct < mskMaxRecentProjects; iAct++)
|
||||
for (int iAct = 0; iAct < mskMaxRecentProjects; iAct++)
|
||||
{
|
||||
QAction *pAction = new QAction(this);
|
||||
pAction->setVisible(false);
|
||||
pAction->setData((int) iAct);
|
||||
pAction->setData(iAct);
|
||||
connect(pAction, &QAction::triggered, this, &CWorldEditor::OpenRecentProject);
|
||||
|
||||
mpOpenRecentMenu->addAction(pAction);
|
||||
|
||||
Reference in New Issue
Block a user