VirtualBox

Changeset 34254 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 22, 2010 3:48:33 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68002
Message:

Guest Additions Update/Main+Fe/Qt4: Don't show errors (also don't in log) when old Guest Additions can't be updated automatically or when Guest Additions are not installed on guest - just use the "old" .ISO mounting approach.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r34105 r34254  
    372372    {
    373373        vboxProblem().showModalProgressDialog(progressInstall, tr("Install"),
    374                                               mainMachineWindow(), 0 /* No delay */);
     374                                              mainMachineWindow(), 500 /* 500ms delay. */);
    375375        if (progressInstall.GetCanceled())
    376376            return;
     
    382382             * simply isn't supported yet), so silently fall back to "old" .ISO
    383383             * mounting method. */
    384             if (rc != VBOX_E_NOT_SUPPORTED)
     384            if (   !SUCCEEDED_WARNING(rc)
     385                && rc != VBOX_E_NOT_SUPPORTED)
     386            {
    385387                vboxProblem().cannotUpdateGuestAdditions(progressInstall, mainMachineWindow());
    386388
    387             /* In every case we log the error message in the release log. */
    388             QString strErr = progressInstall.GetErrorInfo().GetText();
    389             if (!strErr.isEmpty())
    390                 LogRel(("%s\n", strErr.toLatin1().constData()));
     389                /* Log the error message in the release log. */
     390                QString strErr = progressInstall.GetErrorInfo().GetText();
     391                if (!strErr.isEmpty())
     392                    LogRel(("%s\n", strErr.toLatin1().constData()));
     393            }
    391394            fDoMount = true; /* Since automatic updating failed, fall back to .ISO mounting. */
    392395        }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette