1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 17:19:39 +00:00

Fix: 'sizeof' to an incomplete type 'Video::VideoPlayer'

Alternate solution to same problem reported in https://github.com/OpenMW/openmw/pull/1888
This commit is contained in:
Sophie Kirschner 2018-08-25 11:53:43 +03:00
parent b748bb11ae
commit dd01c4d224
2 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,8 @@ VideoWidget::VideoWidget()
setNeedKeyFocus(true); setNeedKeyFocus(true);
} }
VideoWidget::~VideoWidget() = default;
void VideoWidget::setVFS(const VFS::Manager *vfs) void VideoWidget::setVFS(const VFS::Manager *vfs)
{ {
mVFS = vfs; mVFS = vfs;

View file

@ -25,6 +25,8 @@ namespace MWGui
MYGUI_RTTI_DERIVED(VideoWidget) MYGUI_RTTI_DERIVED(VideoWidget)
VideoWidget(); VideoWidget();
~VideoWidget();
/// Set the VFS (virtual file system) to find the videos on. /// Set the VFS (virtual file system) to find the videos on.
void setVFS(const VFS::Manager* vfs); void setVFS(const VFS::Manager* vfs);