MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / _loadHistory

Function _loadHistory

DSView/pv/config/appconfig.cpp:252–264  ·  view source on GitHub ↗

------history

Source from the content-addressed store, hash-verified

250
251//------history
252static void _loadHistory(UserHistory &o, QSettings &st)
253{
254 st.beginGroup("UserHistory");
255 getFiled("exportDir", st, o.exportDir, "");
256 getFiled("saveDir", st, o.saveDir, "");
257 getFiled("showDocuments", st, o.showDocuments, true);
258 getFiled("screenShotPath", st, o.screenShotPath, "");
259 getFiled("sessionDir", st, o.sessionDir, "");
260 getFiled("openDir", st, o.openDir, "");
261 getFiled("protocolExportPath", st, o.protocolExportPath, "");
262 getFiled("exportFormat", st, o.exportFormat, "");
263 st.endGroup();
264}
265
266static void _saveHistory(UserHistory &o, QSettings &st)
267{

Callers 1

LoadAllMethod · 0.85

Calls 1

getFiledFunction · 0.85

Tested by

no test coverage detected