Change default autosave time to 1 min.
--HG-- branch : develop
This commit is contained in:
parent
2d0f68b6dc
commit
64c27f0e34
|
@ -135,7 +135,7 @@ QGroupBox *ConfigurationPage::SaveGroup()
|
||||||
|
|
||||||
autoTime = new QSpinBox();
|
autoTime = new QSpinBox();
|
||||||
bool ok = true;
|
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)
|
if (ok == false)
|
||||||
{
|
{
|
||||||
autoTimeValue = 5;
|
autoTimeValue = 5;
|
||||||
|
|
|
@ -2131,7 +2131,7 @@ void MainWindow::InitAutoSave()
|
||||||
if (autoSave)
|
if (autoSave)
|
||||||
{
|
{
|
||||||
bool ok = true;
|
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)
|
if (ok == false)
|
||||||
{
|
{
|
||||||
autoTime = 5;
|
autoTime = 5;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user