Hi to all,
I have an event where I don't do nothing with the 'event' variable so:
Qt Code:
{ m_panel->setFocusLedColor(Qt::green); }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
Bookmarks