Hi to all,
I have an event where I don't do nothing with the 'event' variable so:

Qt Code:
  1. void WaveWidget::focusInEvent( QFocusEvent *event )
  2. {
  3. m_panel->setFocusLedColor(Qt::green);
  4. }
To copy to clipboard, switch view to plain text mode 

As you can see I don't do nothing with the event variable (in my case I turn on a QLed) and when compile I get an warning that I would remove. Is there any way to avoid such warning? For example the wxWidgets toolkit has a macro named WX_UNUSED for this kind of problems.

Regards