mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 00:01:21 -04:00
Source code maintenance
Memory leaks: - SharedFilesDialog::sendLinkToCloud -> new AddLinksDialog - SharedFilesDialog::addLinkToCloud -> new AddLinksDialog - ChannelFeed::channelListCustomPopupMenu -> new QAction - ChannelFeed::createChannel -> new CreateChannel - ChannelFeed::openMsg -> new GeneralMsgDialog - ChannelFeed::createMsg -> new CreateChannelMsg - NewsFeed::openMsg -> new GeneralMsgDialog - BlogsDialog::openMsg -> new GeneralMsgDialog - BlogsDialog::createBlog -> new CreateBlog - BlogsDialog::openMsg -> new GeneralMsgDialog - BlogsDialog::createMsg -> new CreateBlogMsg - NewsFeed::deleteFeedItem -> Feed items are not deleted, just switched to hidden git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2847 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4e1395a14a
commit
5bb023104d
18 changed files with 73 additions and 32 deletions
|
@ -385,6 +385,10 @@ void NewsFeed::deleteFeedItem(QWidget *item, uint32_t type)
|
|||
std::cerr << "NewsFeed::deleteFeedItem()";
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
if (item) {
|
||||
item->close ();
|
||||
}
|
||||
}
|
||||
|
||||
void NewsFeed::openChat(std::string peerId)
|
||||
|
@ -408,6 +412,7 @@ void NewsFeed::openMsg(uint32_t type, std::string grpId, std::string inReplyTo)
|
|||
|
||||
msgDialog->show();
|
||||
|
||||
/* window will destroy itself! */
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue