1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-25 03:40:40 +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);
}
VideoWidget::~VideoWidget() = default;
void VideoWidget::setVFS(const VFS::Manager *vfs)
{
mVFS = vfs;

View File

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