Suggested parenthesis
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 13 Aug 2009 20:09:42 +0000 (23:09 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 13 Aug 2009 20:30:37 +0000 (23:30 +0300)
modules/gui/qt4/dialogs/toolbar.cpp

index 5c14bcc..f3a6ca3 100644 (file)
@@ -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 );