- Moved the setting maxTimeBeforeIdle from the section [%General] to [General] in the profile. Please set your prefered value again.

- Saved the selected tab in the TransferDialog in the profile.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-08-10 22:47:18 +00:00
parent a7b36d8252
commit babbea6599
2 changed files with 9 additions and 3 deletions

View file

@ -678,7 +678,7 @@ void RshareSettings::setExpandNewMessages (bool bValue)
uint RshareSettings::getMaxTimeBeforeIdle()
{
if (m_maxTimeBeforeIdle == -1) {
m_maxTimeBeforeIdle = valueFromGroup("General", "maxTimeBeforeIdle", 30).toUInt();
m_maxTimeBeforeIdle = value("maxTimeBeforeIdle", 30).toUInt();
}
return m_maxTimeBeforeIdle;
@ -687,5 +687,5 @@ uint RshareSettings::getMaxTimeBeforeIdle()
void RshareSettings::setMaxTimeBeforeIdle(uint nValue)
{
m_maxTimeBeforeIdle = nValue;
setValueToGroup("General", "maxTimeBeforeIdle", nValue);
setValue("maxTimeBeforeIdle", nValue);
}