mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -04:00
fixed bug showing play for unfinished files and preview for finished ones
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
43832a1f58
commit
0a3419c692
1 changed files with 6 additions and 6 deletions
|
@ -707,8 +707,8 @@ void TransfersDialog::downloadListCustomPopupMenu( QPoint /*point*/ )
|
||||||
{
|
{
|
||||||
if (misc::isPreviewable(info.fname.substr(pos + 1).c_str()))
|
if (misc::isPreviewable(info.fname.substr(pos + 1).c_str()))
|
||||||
{
|
{
|
||||||
add_PlayOption = (info.downloadStatus != FT_STATE_COMPLETE);
|
add_PreviewOption = (info.downloadStatus != FT_STATE_COMPLETE);
|
||||||
add_PreviewOption = !add_PlayOption;
|
add_PlayOption = !add_PreviewOption;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue