~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-07-04 13:02:31 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110704130231-l843es6wqhx614n7
Tags: 4.0.10-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Add the Modaliases control field manually for maximum backportability.

Show diffs side-by-side

added added

removed removed

Lines of Context:
772
772
            !machine.isOk() ? formatErrorInfo(machine) : formatErrorInfo(res));
773
773
}
774
774
 
 
775
void VBoxProblemReporter::cannotDeleteMachine(const CMachine &machine, const CProgress &progress)
 
776
{
 
777
    message(mainWindowShown(),
 
778
            Error,
 
779
            tr("Failed to remove the virtual machine <b>%1</b>.").arg(machine.GetName()),
 
780
            formatErrorInfo(progress.GetErrorInfo()));
 
781
}
 
782
 
775
783
void VBoxProblemReporter::cannotDiscardSavedState (const CConsole &console)
776
784
{
777
785
    /* preserve the current error info before calling the object again */