From 859e991c914741ab56e244e264d0b05f7c8f8453 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 22 Feb 2010 17:45:55 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/TransfersDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/TransfersDialog.cpp b/retroshare-gui/src/gui/TransfersDialog.cpp index c2aeb9702..3c91a77fc 100644 --- a/retroshare-gui/src/gui/TransfersDialog.cpp +++ b/retroshare-gui/src/gui/TransfersDialog.cpp @@ -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)