mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
FeedReader: The feed can be used as source for board
This commit is contained in:
parent
ecffb3cb7f
commit
571f709b50
13 changed files with 704 additions and 113 deletions
|
@ -245,9 +245,19 @@ void FeedReaderMessageWidget::setFeedId(uint32_t feedId)
|
|||
ui->msgReadAllButton->setEnabled(false);
|
||||
ui->msgTreeWidget->setPlaceholderText("");
|
||||
} else {
|
||||
if (mFeedInfo.flag.forum) {
|
||||
if (mFeedInfo.flag.forum || mFeedInfo.flag.posted) {
|
||||
ui->msgReadAllButton->setEnabled(false);
|
||||
ui->msgTreeWidget->setPlaceholderText(tr("The messages will be added to the forum"));
|
||||
|
||||
if (mFeedInfo.flag.forum && mFeedInfo.flag.posted) {
|
||||
ui->msgTreeWidget->setPlaceholderText(tr("The messages will be added to the forum and the board"));
|
||||
} else {
|
||||
if (mFeedInfo.flag.forum) {
|
||||
ui->msgTreeWidget->setPlaceholderText(tr("The messages will be added to the forum"));
|
||||
}
|
||||
if (mFeedInfo.flag.posted) {
|
||||
ui->msgTreeWidget->setPlaceholderText(tr("The messages will be added to the board"));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ui->msgReadAllButton->setEnabled(true);
|
||||
ui->msgTreeWidget->setPlaceholderText("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue