mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
removed channel delete feature
added optimisation suggestion with load/savelist git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d3a6f7316c
commit
2f559dae96
37 changed files with 133 additions and 388 deletions
|
@ -1862,10 +1862,9 @@ RsSerialiser *ftController::setupSerialiser()
|
|||
return rss;
|
||||
}
|
||||
|
||||
|
||||
std::list<RsItem *> ftController::saveList(bool &cleanup)
|
||||
bool ftController::saveList(bool &cleanup, std::list<RsItem *>& saveData)
|
||||
{
|
||||
std::list<RsItem *> saveData;
|
||||
|
||||
|
||||
/* it can delete them! */
|
||||
cleanup = true;
|
||||
|
@ -1977,11 +1976,11 @@ std::list<RsItem *> ftController::saveList(bool &cleanup)
|
|||
}
|
||||
|
||||
/* list completed! */
|
||||
return saveData;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool ftController::loadList(std::list<RsItem *> load)
|
||||
bool ftController::loadList(std::list<RsItem *>& load)
|
||||
{
|
||||
std::list<RsItem *>::iterator it;
|
||||
std::list<RsTlvKeyValue>::iterator kit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue