From fba659daa1db9beca099ff06d573ef3ff1f6ae1c Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 10 Nov 2014 23:44:58 -0800 Subject: [PATCH] Qt: Fix non-USE_FFMPEG build --- src/platform/qt/Window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index ea2e6249a..f0ce3b210 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -65,7 +65,10 @@ Window::Window(ConfigController* config, QWidget* parent) Window::~Window() { delete m_logView; + +#ifdef USE_FFMPEG delete m_videoView; +#endif } void Window::argumentsPassed(GBAArguments* args) {