Commit 042b0742 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Suggested parenthesis

(cherry picked from commit 291738ae)
parent 9a591c8f
...@@ -544,7 +544,7 @@ void DroppingController::createAndAddWidget( QBoxLayout *controlLayout, ...@@ -544,7 +544,7 @@ void DroppingController::createAndAddWidget( QBoxLayout *controlLayout,
foreach( child, children ) foreach( child, children )
{ {
QWidget *childWidg; QWidget *childWidg;
if( childWidg = qobject_cast<QWidget *>( child ) ) if( ( childWidg = qobject_cast<QWidget *>( child ) ) )
{ {
child->installEventFilter( this ); child->installEventFilter( this );
childWidg->setEnabled( true ); childWidg->setEnabled( true );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment