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:
parent
b748bb11ae
commit
dd01c4d224
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue