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

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 );
......
Supports Markdown
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