| 41 | } |
| 42 | |
| 43 | void writePskSetting(const QString& field, const QJsonValue& value) |
| 44 | { |
| 45 | QJsonObject obj = pskSettings(); |
| 46 | obj.insert(field, value); |
| 47 | AppSettings::instance().setValue( |
| 48 | kSettingsKey, |
| 49 | QString::fromUtf8(QJsonDocument(obj).toJson(QJsonDocument::Compact))); |
| 50 | } |
| 51 | |
| 52 | // Normalize a PSK Reporter / ADIF mode string to one of the selector's |
| 53 | // mode groups. |
no test coverage detected