[vlc-devel] [PATCH 5/6] qt4: kill a warning

Ludovic Fauvet etix at videolan.org
Fri Jun 8 22:33:06 CEST 2012


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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 4903f0f..addff15 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -113,6 +113,8 @@ QAction *addDPStaticEntry( QMenu *menu,
     }
 #ifdef __APPLE__
     action->setMenuRole( role )
+#else
+    Q_UNUSED( role );
 #endif
     action->setData( VLCMenuBar::ACTION_STATIC );
     return action;
-- 
1.7.10.3




More information about the vlc-devel mailing list