You must not put parameter names to the connect statement. It should be:
Qt Code:
  1. connect(listWidget, SIGNAL(itemActivated(QListWidgetItem*)), this, SLOT(enableDeleteButton()));
To copy to clipboard, switch view to plain text mode