Commit 291738ae authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Suggested parenthesis

parent e7fbfdcb
......@@ -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 );
......
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