I have a function:

Qt Code:
  1. QCheckBox *Window::createCheckBox(const QString &text, const QString &key)
  2.  
  3. {
  4.  
  5. QCheckBox *checkBox = new QCheckBox(text);
  6.  
  7. connect(checkBox, SIGNAL(stateChanged(2)), this, SLOT(addKeyword(key)));
  8.  
  9. connect(checkBox, SIGNAL(stateChanged(0)), this, SLOT(killKeyword(key)));
  10.  
  11. }
To copy to clipboard, switch view to plain text mode 

When I compile I receive:

warning: unused parameter ‘key’

Any thoughts?
Thanks