Added Idle settings to Settings Gui

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3309 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-07-21 18:48:33 +00:00
parent 423f6811ce
commit db034b026f
2 changed files with 35 additions and 2 deletions

View file

@ -63,6 +63,8 @@ GeneralPage::save(QString &errmsg)
Settings->setRunRetroshareOnBoot(
ui.chkRunRetroshareAtSystemStartup->isChecked());
Settings->setMaxTimeBeforeIdle(ui.spinBox->value());
return true;
}
@ -78,6 +80,8 @@ GeneralPage::load()
ui.checkQuit->setChecked(Settings->value(QString::fromUtf8("doQuit"), false).toBool());
ui.checkClosetoTray->setChecked(Settings->value(QString::fromUtf8("ClosetoTray"), false).toBool());
ui.spinBox->setValue(Settings->getMaxTimeBeforeIdle());
}