1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-24 09:11:34 +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

@ -26,6 +26,8 @@ namespace MWGui
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);