I'm pretty sure that the
Qt Code:
connect(view->selectionModel(),SIGNAL(currentRowChanged(QModelIndex,QModelIndex)),this,SLOT(querydb()));To copy to clipboard, switch view to plain text mode
will not work since your signal and your slot don't have the same parameters type. When you connect, you have to connect a signal to a slot with exactly the same parameters.
Hope this helps.
Bookmarks