[vlc-commits] Qt, menus: inline a function only used once

Jean-Baptiste Kempf git at videolan.org
Fri Mar 11 23:23:51 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 11 18:42:49 2011 +0100| [33ead5bd30ffdf9497d14dce44350554092566d4] | committer: Jean-Baptiste Kempf

Qt, menus: inline a function only used once

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 96071d4..41586c1 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -165,7 +165,7 @@ void EnableStaticEntries( QMenu *menu, bool enable = true )
 /**
  * \return Number of static entries
  */
-int DeleteNonStaticEntries( QMenu *menu )
+inline int DeleteNonStaticEntries( QMenu *menu )
 {
     if( !menu ) return VLC_EGENERIC;
 



More information about the vlc-commits mailing list