MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / setAutoSaveInterval

Method setAutoSaveInterval

global.cpp:1375–1380  ·  view source on GitHub ↗

Save the user specified auto-save interval

Source from the content-addressed store, hash-verified

1373
1374// Save the user specified auto-save interval
1375void Global::setAutoSaveInterval(int value) {
1376 global.settings->beginGroup("Appearance");
1377 global.settings->setValue("autoSaveInterval", value);
1378 global.settings->endGroup();
1379 global.autoSaveInterval = value*1000;
1380}
1381
1382
1383

Callers 1

saveValuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected