| 207 | } |
| 208 | |
| 209 | void FvUpdater::UpdateInstallationConfirmed() |
| 210 | { |
| 211 | qDebug() << "Confirm update installation"; |
| 212 | |
| 213 | FvAvailableUpdate* proposedUpdate = GetProposedUpdate(); |
| 214 | if (! proposedUpdate) { |
| 215 | qWarning() << "Proposed update is NULL (shouldn't be at this point)"; |
| 216 | return; |
| 217 | } |
| 218 | |
| 219 | // Open a link |
| 220 | if (! QDesktopServices::openUrl(proposedUpdate->GetEnclosureUrl())) { |
| 221 | showErrorDialog(tr("Unable to open this link in a browser. Please do it manually."), true); |
| 222 | return; |
| 223 | } |
| 224 | |
| 225 | hideUpdaterWindow(); |
| 226 | hideUpdateConfirmationDialog(); |
| 227 | } |
| 228 | |
| 229 | void FvUpdater::UpdateInstallationNotConfirmed() |
| 230 | { |
nothing calls this directly
no test coverage detected