Hi
I am trying to get the path of a selected file in a listbox.I am able to get the filename after selecting the file by the following code
QModelIndex index = ui->treeView->currentIndex();
ui->listWidget_2->addItem(index.data().toString());
I want to get the full path of the selected file also, if there is any way please guide me.
thanks
Bookmarks