MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / UpdateInstallationConfirmed

Method UpdateInstallationConfirmed

_fervor/fvupdater.cpp:209–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void 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
229void FvUpdater::UpdateInstallationNotConfirmed()
230{

Callers

nothing calls this directly

Calls 1

GetEnclosureUrlMethod · 0.80

Tested by

no test coverage detected