[vlc-commits] qt4: kill a warning

Ludovic Fauvet git at videolan.org
Sat Jun 9 23:07:41 CEST 2012


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Jun  8 22:33:06 2012 +0200| [92273579a2d5d81f68b3b34616ca1aac2adb52f3] | committer: Jean-Baptiste Kempf

qt4: kill a warning

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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;



More information about the vlc-commits mailing list