change hash name with real name path for preview

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
alexandrut 2009-07-22 21:04:44 +00:00
parent 0033ae20ea
commit 26bade91b8

View File

@ -1014,7 +1014,7 @@ void TransfersDialog::previewTransfer()
if (info.downloadStatus == FT_STATE_COMPLETE) {
path = info.path + "/" + info.fname;
} else {
path = rsFiles->getPartialsDirectory() + "/" + info.hash;
path = rsFiles->getPartialsDirectory() + "/" + info.fname;
}
/* open or preview them with a suitable application */