Remove unnecessary cast

This commit is contained in:
WarmUpTill 2023-03-23 20:42:45 +01:00 committed by WarmUpTill
parent c2020fe77c
commit 0a422174bc

View File

@ -154,5 +154,5 @@ void SetupDock()
static_cast<QMainWindow *>(obs_frontend_get_main_window()));
// Added for cosmetic reasons to avoid brief flash of dock window on startup
dock->setVisible(false);
static_cast<QAction *>(obs_frontend_add_dock(dock));
obs_frontend_add_dock(dock);
}