This is because your connection syntax is wrong! Don't put the names of your arguments there:
Qt Code:
connect(ui->tableWidget, SIGNAL(cellClicked(int,int)), this, SLOT(removeSR(int,int)));To copy to clipboard, switch view to plain text mode
((And removeSR must be declared as a slot and you have to use Q_OBJECT))
Bookmarks