all repos — mgba @ 9de2189b2ef52ddb51dfde14befda9e4dff4e436

mGBA Game Boy Advance Emulator

Qt: Fix building with FFmpeg or ImageMagick disabled
NieDzejkob niedzejkob@gmail.com
Tue, 25 Jul 2017 14:56:41 +0200
commit

9de2189b2ef52ddb51dfde14befda9e4dff4e436

parent

f187fba4fbee89d8fab91b445ed43d4ed0c0bc45

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/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); }