Qt: Fix building with FFmpeg or ImageMagick disabled
NieDzejkob niedzejkob@gmail.com
Tue, 25 Jul 2017 14:56:41 +0200
1 files changed,
8 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -1753,15 +1753,23 @@
if (m_gdbController) { m_gdbController->setController(m_controller); } + if (m_console) { m_console->setController(m_controller); } + +#ifdef USE_MAGICK if (m_gifView) { m_gifView->setController(m_controller); } +#endif + +#ifdef USE_FFMPEG if (m_videoView) { m_videoView->setController(m_controller); } +#endif + if (m_overrideView) { m_overrideView->setController(m_controller); }