mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-17 18:37:20 -05:00
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:
parent
9e584e6723
commit
859e991c91
@ -361,9 +361,9 @@ void TransfersDialog::downloadListCostumPopupMenu( QPoint point )
|
|||||||
|
|
||||||
for (int i = 0; i < lst.count (); i++)
|
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 ;
|
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 ;
|
all_paused = false ;
|
||||||
|
|
||||||
if ( lst[i].column() == 0)
|
if ( lst[i].column() == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user