I'm getting a "QMetaObject::connectSlotsByName: No matching signal for on_radioButton(bool)" error in the debug output of my project when it runs.

The signals and slots actually work OK, but this message is output.

I'm using something like this:

Qt Code:
  1. Window::Window()
  2. {
  3. setupUi(this);
  4.  
  5. connect(xy_radioButton,SIGNAL(clicked(bool)),this,SLOT(on_radioButton(bool)));
  6.  
  7. ....
  8.  
  9. }
  10.  
  11.  
  12. void Window:: on_radioButton(bool checked)
  13. {
  14. ...
  15. }
To copy to clipboard, switch view to plain text mode 


In the header I have:

Qt Code:
  1. private slots:
  2. void on_radioButton(bool);
To copy to clipboard, switch view to plain text mode 

Any ideas why this message is output, but it still actually works OK?