ok that works sorta.
This is what i have
but size() doesn't return the correct number of selected items.Qt Code:
QModelIndexList selected = selections->selectedIndexes(); for( i = 0 ; i < selected.size(); i++ ) { rowid = selected[i].row();To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks