Gui: Replace C cast

This commit is contained in:
marioalexis
2022-06-17 12:00:26 -03:00
committed by Chris Hennes
parent 9ccb9eecb2
commit 0382f276a2
36 changed files with 156 additions and 152 deletions

View File

@@ -613,7 +613,7 @@ void WorkbenchGroup::refreshWorkbenchList()
void WorkbenchGroup::customEvent( QEvent* e )
{
if (e->type() == QEvent::User) {
auto ce = (Gui::WorkbenchActionEvent*)e;
auto ce = static_cast<Gui::WorkbenchActionEvent*>(e);
ce->action()->trigger();
}
}