[vlc-commits] Qt: fix non-Windows compilation

Jean-Baptiste Kempf git at videolan.org
Mon Jul 6 18:48:04 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul  6 18:47:52 2015 +0200| [6dc0dc338b2b4962fa23f19dc35488eed896057c] | committer: Jean-Baptiste Kempf

Qt: fix non-Windows compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6dc0dc338b2b4962fa23f19dc35488eed896057c
---

 modules/gui/qt4/components/open_panels.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index a8d4bef..ccb5ba3 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1117,8 +1117,10 @@ void CaptureOpenPanel::initialize()
 
 CaptureOpenPanel::~CaptureOpenPanel()
 {
+#ifdef _WIN32
     delete vdevDshowW;
     delete adevDshowW;
+#endif
 }
 
 void CaptureOpenPanel::clear()



More information about the vlc-commits mailing list