[vlc-devel] commit: Suggested parenthesis ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Aug 13 22:37:01 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 13 23:09:42 2009 +0300| [042b0742a10e55d0fe0b9e37d2a5b835fb857ca9] | committer: Rémi Denis-Courmont 

Suggested parenthesis

(cherry picked from commit 291738ae7ab47339fb284613f7a3c648d6606abc)

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

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

diff --git a/modules/gui/qt4/dialogs/toolbar.cpp b/modules/gui/qt4/dialogs/toolbar.cpp
index 080c117..78aab01 100644
--- a/modules/gui/qt4/dialogs/toolbar.cpp
+++ b/modules/gui/qt4/dialogs/toolbar.cpp
@@ -544,7 +544,7 @@ void DroppingController::createAndAddWidget( QBoxLayout *controlLayout,
             foreach( child, children )
             {
                 QWidget *childWidg;
-                if( childWidg = qobject_cast<QWidget *>( child ) )
+                if( ( childWidg = qobject_cast<QWidget *>( child ) ) )
                 {
                     child->installEventFilter( this );
                     childWidg->setEnabled( true );




More information about the vlc-devel mailing list