[vlc-commits] Qt: addDPStaticEntry returns action (missing return)

Francois Cartegnie git at videolan.org
Thu Mar 24 21:54:49 CET 2011


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar 24 21:54:20 2011 +0100| [a9065bdc933b380624edcde8abad70cf6453b66b] | committer: Francois Cartegnie

Qt: addDPStaticEntry returns action (missing return)

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 1d2ce89..b6d115a 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -112,6 +112,7 @@ QAction *addDPStaticEntry( QMenu *menu,
             action = menu->addAction( text, THEDP, member );
     }
     action->setData( STATIC_ENTRY );
+    return action;
 }
 
 /**



More information about the vlc-commits mailing list