mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-14 00:55:46 -04:00
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:
parent
4009ff47cb
commit
07d8db4505
3 changed files with 14 additions and 1 deletions
retroshare-gui/src/gui/feeds
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue