mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-17 17:43:59 -05:00
Added own flag and new checkbox in settings for security ip feed items.
Changed NewsFeed::addUnique for SecurityIpItem to compare the ip addresses. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f360e9d0ba
commit
ad4f57d756
8 changed files with 75 additions and 24 deletions
|
|
@ -165,6 +165,8 @@ uint NotifyPage::getNewsFlags()
|
|||
newsFlags |= RS_FEED_TYPE_CHAT;
|
||||
if (ui.notify_Security->isChecked())
|
||||
newsFlags |= RS_FEED_TYPE_SECURITY;
|
||||
if (ui.notify_SecurityIp->isChecked())
|
||||
newsFlags |= RS_FEED_TYPE_SECURITY_IP;
|
||||
|
||||
return newsFlags;
|
||||
}
|
||||
|
|
@ -287,6 +289,7 @@ void NotifyPage::load()
|
|||
ui.notify_Messages->setChecked(newsflags & RS_FEED_TYPE_MSG);
|
||||
ui.notify_Chat->setChecked(newsflags & RS_FEED_TYPE_CHAT);
|
||||
ui.notify_Security->setChecked(newsflags & RS_FEED_TYPE_SECURITY);
|
||||
ui.notify_SecurityIp->setChecked(newsflags & RS_FEED_TYPE_SECURITY_IP);
|
||||
|
||||
ui.message_ConnectAttempt->setChecked(messageflags & RS_MESSAGE_CONNECT_ATTEMPT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue