| 327 | } |
| 328 | |
| 329 | bool CReviveManifestController::SaveDocument() |
| 330 | { |
| 331 | if (!m_manifestFile.open(QIODevice::WriteOnly)) |
| 332 | { |
| 333 | qWarning("Couldn't open manifest file for writing"); |
| 334 | return false; |
| 335 | } |
| 336 | |
| 337 | QJsonDocument doc(m_manifest); |
| 338 | m_manifestFile.write(doc.toJson()); |
| 339 | m_manifestFile.close(); |
| 340 | |
| 341 | AddApplicationManifest(m_manifestFile); |
| 342 | |
| 343 | return true; |
| 344 | } |
| 345 | |
| 346 | bool CReviveManifestController::addManifest(const QString &canonicalName, const QString &manifest) |
| 347 | { |
nothing calls this directly
no outgoing calls
no test coverage detected