removed unneeded check.

This commit is contained in:
Hugo Pereira Da Costa 2012-02-29 16:54:52 +01:00
parent a57dc6b238
commit 85f1ae0adb

View file

@ -1435,8 +1435,6 @@ namespace Oxygen
paint( painter ); paint( painter );
// update buttons // update buttons
if( compositingActive() )
{
QList<Button*> buttons( widget()->findChildren<Button*>() ); QList<Button*> buttons( widget()->findChildren<Button*>() );
foreach( Button* button, buttons ) foreach( Button* button, buttons )
{ {
@ -1449,7 +1447,6 @@ namespace Oxygen
painter.restore(); painter.restore();
} }
} }
}
} else { } else {