Fixed crash in TransfersDialog when right clicking on a download without "#define USE_NEW_CHUNK_CHECKING_CODE".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5032 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-03-17 23:52:10 +00:00
parent ded4174a13
commit 117d10eb44

View File

@ -562,7 +562,9 @@ void TransfersDialog::downloadListCostumPopupMenu( QPoint /*point*/ )
if(info.downloadStatus != FT_STATE_COMPLETE)
{
#ifdef USE_NEW_CHUNK_CHECKING_CODE
contextMnu.addAction( forceCheckAct);
#endif
contextMnu.addAction( cancelAct);
}