mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Added check of account directory (check for missing subdirectories) in RsInit::InitRetroShare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
00921b969e
commit
70d37d0306
3 changed files with 20 additions and 2 deletions
|
@ -101,7 +101,16 @@ void RsAccountsDetail::unlockPreferredAccount()
|
|||
{
|
||||
mAccountsLocked = false;
|
||||
}
|
||||
|
||||
|
||||
bool RsAccountsDetail::checkAccountDirectory()
|
||||
{
|
||||
if (!checkPreferredId())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return setupAccount(PathAccountDirectory());
|
||||
}
|
||||
|
||||
bool RsAccountsDetail::selectAccountByString(const std::string &prefUserString)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue