mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
FeedReader:
- Fixed enabled state of read all button - Fixed copy links from context menu git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6091 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
97d0348f23
commit
b433d15536
2 changed files with 5 additions and 3 deletions
|
@ -224,8 +224,10 @@ void FeedReaderMessageWidget::setFeedId(const std::string &feedId)
|
|||
ui->msgTreeWidget->setPlaceholderText("");
|
||||
} else {
|
||||
if (mFeedInfo.flag.forum) {
|
||||
ui->msgReadAllButton->setEnabled(false);
|
||||
ui->msgTreeWidget->setPlaceholderText(tr("The messages will be added to the forum"));
|
||||
} else {
|
||||
ui->msgReadAllButton->setEnabled(true);
|
||||
ui->msgTreeWidget->setPlaceholderText("");
|
||||
}
|
||||
}
|
||||
|
@ -310,7 +312,7 @@ void FeedReaderMessageWidget::msgTreeCustomPopupMenu(QPoint /*point*/)
|
|||
|
||||
contextMnu.addSeparator();
|
||||
|
||||
action = contextMnu.addAction(QIcon(""), tr("Copy link"), this, SLOT(copyLinskMsg()));
|
||||
action = contextMnu.addAction(QIcon(""), tr("Copy link"), this, SLOT(copySelectedLinksMsg()));
|
||||
action->setEnabled(!selectedItems.empty());
|
||||
|
||||
action = contextMnu.addAction(QIcon(""), tr("Remove"), this, SLOT(removeMsg()));
|
||||
|
@ -727,7 +729,7 @@ void FeedReaderMessageWidget::markAllAsReadMsg()
|
|||
setMsgAsReadUnread(items, true);
|
||||
}
|
||||
|
||||
void FeedReaderMessageWidget::copyLinksMsg()
|
||||
void FeedReaderMessageWidget::copySelectedLinksMsg()
|
||||
{
|
||||
QString links;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue