I just have a simple question about the syntax of writing a paintEvent handler.
Specifically, I have seen in many places when writing the event handler, the event pointer is commented out in the parameter list like this:

Qt Code:
  1. Class::paintEvent(QPaintEvent * /* event */)
To copy to clipboard, switch view to plain text mode 

Why is this done? I have compiled it with and without the comments and it has performed the same way. I haven't found any explanation for this.

Thanks !