Added to identify for Channel Files if its a media file(s) or not, to change the Play Button text from "Play" to "Open"

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5781 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2012-11-06 16:25:20 +00:00
parent 4009ff47cb
commit 07d8db4505
3 changed files with 14 additions and 1 deletions
retroshare-gui/src/gui/feeds

View file

@ -686,3 +686,9 @@ bool SubFileItem::isPlayable(bool &startable)
return visible;
}
void SubFileItem::mediatype()
{
/* check if the file is not a media file and change text */
playButton->setText(tr("Open"));
playButton->setToolTip(tr("Open File"));
}