Fixed Resume/Pause context menu actions to work properly in all Translations to use now FT_STATE_WAITING/FT_STATE_DOWNLOADING

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2389 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-02-22 17:45:55 +00:00
parent 9e584e6723
commit 859e991c91

View File

@ -361,9 +361,9 @@ void TransfersDialog::downloadListCostumPopupMenu( QPoint point )
for (int i = 0; i < lst.count (); i++)
{
if ( lst[i].column() == 0 && lst[i].model ()->data (lst[i].model ()->index (lst[i].row (), STATUS )).toString() == "Waiting")
if ( lst[i].column() == 0 && info.downloadStatus == FT_STATE_WAITING )
all_downld = false ;
if ( lst[i].column() == 0 && lst[i].model ()->data (lst[i].model ()->index (lst[i].row (), STATUS )).toString() == "Downloading")
if ( lst[i].column() == 0 && info.downloadStatus == FT_STATE_DOWNLOADING )
all_paused = false ;
if ( lst[i].column() == 0)