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:
thunder2 2015-06-03 23:03:03 +00:00
parent 00921b969e
commit 70d37d0306
3 changed files with 20 additions and 2 deletions

View file

@ -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)
{