[vlc-commits] Qt: fix build

Jean-Baptiste Kempf git at videolan.org
Mon Dec 4 01:10:57 CET 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec  4 00:31:14 2017 +0100| [19220f545ece0292d31f8b135d2be8517b742c24] | committer: Jean-Baptiste Kempf

Qt: fix build

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

 modules/gui/qt/components/open_panels.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/components/open_panels.cpp b/modules/gui/qt/components/open_panels.cpp
index cffc40348a..5902c51156 100644
--- a/modules/gui/qt/components/open_panels.cpp
+++ b/modules/gui/qt/components/open_panels.cpp
@@ -384,6 +384,7 @@ void DiscOpenPanel::onFocus()
     if( GetLogicalDriveStringsW( sizeof( szDrives ) / sizeof( *szDrives ) - 1, szDrives ) )
     {
         wchar_t *drive = szDrives;
+        DWORD oldMode;
         SetThreadErrorMode( SEM_FAILCRITICALERRORS, &oldMode );
         while( *drive )
         {



More information about the vlc-commits mailing list