PDA

View Full Version : SOLVED:Qt::UniqueConnection Question



thefatladysingsopera
2nd October 2011, 20:59
How can i have Qt::UniqueConnection in;


connect(ui.tableView->selectionModel(), SIGNAL(currentRowChanged(QModelIndex,QModelIndex)) , this, SLOT(getImage(QModelIndex,QModelIndex)));

in there somewhere?.

stampede
2nd October 2011, 21:06
connect(ui.tableView->selectionModel(), SIGNAL(currentRowChanged(QModelIndex,QModelIndex)) , this, SLOT(getImage(QModelIndex,QModelIndex)), Qt::UniqueConnection);
:)