Change default autosave time to 1 min.

--HG--
branch : develop
This commit is contained in:
dismine 2014-10-23 16:55:05 +03:00
parent 2d0f68b6dc
commit 64c27f0e34
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ QGroupBox *ConfigurationPage::SaveGroup()
autoTime = new QSpinBox();
bool ok = true;
qint32 autoTimeValue = settings->value("configuration/autosave/time", 5).toInt(&ok);
qint32 autoTimeValue = settings->value("configuration/autosave/time", 1).toInt(&ok);
if (ok == false)
{
autoTimeValue = 5;

View File

@ -2131,7 +2131,7 @@ void MainWindow::InitAutoSave()
if (autoSave)
{
bool ok = true;
qint32 autoTime = qApp->getSettings()->value("configuration/autosave/time", 5).toInt(&ok);
qint32 autoTime = qApp->getSettings()->value("configuration/autosave/time", 1).toInt(&ok);
if (ok == false)
{
autoTime = 5;