mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 18:42:20 -04:00
Fixed Channel: SubFileItem display and play.
* added openFile function to MainWindow. (uses QtDesktopServices) * disabled PlayAll in ChanMsgItem (as we can't do this). * enabled play() once files downloaded. * tested play audio/video files on MacOSX git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@857 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
505b5c6363
commit
0c4947f4e6
4 changed files with 163 additions and 18 deletions
|
@ -118,6 +118,7 @@ void ChanMsgItem::updateItemStatic()
|
|||
|
||||
/* don't really want this at all! */
|
||||
unsubscribeButton->hide();
|
||||
playButton->hide();
|
||||
}
|
||||
|
||||
|
||||
|
@ -141,10 +142,16 @@ void ChanMsgItem::updateItem()
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/***
|
||||
* At this point cannot create a playlist....
|
||||
* so can't enable play for all.
|
||||
|
||||
if (mFileItems.size() > 0)
|
||||
{
|
||||
playButton->setEnabled(true);
|
||||
}
|
||||
***/
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue