| 37 | } |
| 38 | |
| 39 | void DebuggerSettingsManager::writeJSONToPath(std::string path, QJsonDocument jsonDocument) |
| 40 | { |
| 41 | QFile file(QString::fromStdString(path)); |
| 42 | if (!file.open(QIODevice::WriteOnly)) |
| 43 | { |
| 44 | Console.WriteLnFmt("Debugger Settings Manager: Failed to write Debugger Settings file to path: '{}'", path); |
| 45 | return; |
| 46 | } |
| 47 | file.write(jsonDocument.toJson(QJsonDocument::Indented)); |
| 48 | file.close(); |
| 49 | } |
| 50 | |
| 51 | void DebuggerSettingsManager::loadGameSettings(BreakpointModel* bpModel) |
| 52 | { |
nothing calls this directly
no test coverage detected