Skip to content

Commit cae8d8a

Browse files
exeldroRytoEX
authored andcommitted
frontend: Fix canvas remove event
1 parent b46e5bb commit cae8d8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/widgets/OBSBasic.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ private slots:
11241124
const OBS::Canvas &AddCanvas(const std::string &name, obs_video_info *ovi = nullptr, int flags = 0);
11251125

11261126
public slots:
1127-
bool RemoveCanvas(obs_canvas_t *canvas);
1127+
bool RemoveCanvas(OBSCanvas canvas);
11281128

11291129
/* -------------------------------------
11301130
* MARK: - OBSBasic_SceneItems

frontend/widgets/OBSBasic_Canvases.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const OBS::Canvas &OBSBasic::AddCanvas(const std::string &name, obs_video_info *
3131
return it;
3232
}
3333

34-
bool OBSBasic::RemoveCanvas(obs_canvas_t *canvas)
34+
bool OBSBasic::RemoveCanvas(OBSCanvas canvas)
3535
{
3636
if (!canvas)
3737
return false;

0 commit comments

Comments
 (0)