frontend: Fix canvas remove event

This commit is contained in:
Exeldro
2025-05-17 09:46:50 +02:00
committed by Ryan Foster
parent b46e5bb1c0
commit cae8d8a3da
2 changed files with 2 additions and 2 deletions

View File

@@ -1124,7 +1124,7 @@ public:
const OBS::Canvas &AddCanvas(const std::string &name, obs_video_info *ovi = nullptr, int flags = 0);
public slots:
bool RemoveCanvas(obs_canvas_t *canvas);
bool RemoveCanvas(OBSCanvas canvas);
/* -------------------------------------
* MARK: - OBSBasic_SceneItems

View File

@@ -31,7 +31,7 @@ const OBS::Canvas &OBSBasic::AddCanvas(const std::string &name, obs_video_info *
return it;
}
bool OBSBasic::RemoveCanvas(obs_canvas_t *canvas)
bool OBSBasic::RemoveCanvas(OBSCanvas canvas)
{
if (!canvas)
return false;