[vlc-commits] Qt: fix build

Jean-Baptiste Kempf git at videolan.org
Mon Dec 4 00:31:28 CET 2017


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

Qt: fix build

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

 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..45544fb9fd 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;
+        UINT oldMode;
         SetThreadErrorMode( SEM_FAILCRITICALERRORS, &oldMode );
         while( *drive )
         {



More information about the vlc-commits mailing list