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

Method getAutoSaveInterval

global.cpp:1367–1372  ·  view source on GitHub ↗

save the user-specified auto-save interval

Source from the content-addressed store, hash-verified

1365
1366// save the user-specified auto-save interval
1367int Global::getAutoSaveInterval() {
1368 global.settings->beginGroup("Appearance");
1369 int value = global.settings->value("autoSaveInterval", 500).toInt();
1370 global.settings->endGroup();
1371 return value;
1372}
1373
1374// Save the user specified auto-save interval
1375void Global::setAutoSaveInterval(int value) {

Callers 1

DebugPreferencesMethod · 0.80

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected