------history
| 250 | |
| 251 | //------history |
| 252 | static 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 | |
| 266 | static void _saveHistory(UserHistory &o, QSettings &st) |
| 267 | { |