mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 06:20:44 -04:00
fixed loading/saving of remote directories
This commit is contained in:
parent
679c53b0b0
commit
ad1ba7a77d
4 changed files with 41 additions and 9 deletions
|
@ -199,6 +199,9 @@ int p3FileDatabase::tick()
|
|||
}
|
||||
|
||||
mLastRemoteDirSweepTS = now;
|
||||
|
||||
#warning hack to make loaded directories show up in the GUI, because the GUI isn't ready at the time they are actually loaded up.
|
||||
RsServer::notify()->notifyListChange(NOTIFY_LIST_DIRLIST_FRIENDS, 0);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -412,6 +415,7 @@ void p3FileDatabase::cleanup()
|
|||
|
||||
mRemoteDirectories[friend_index] = new RemoteDirectoryStorage(*it,makeRemoteFileName(*it));
|
||||
|
||||
mUpdateFlags |= P3FILELISTS_UPDATE_FLAG_REMOTE_DIRS_CHANGED ;
|
||||
mUpdateFlags |= P3FILELISTS_UPDATE_FLAG_REMOTE_MAP_CHANGED ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue