VirtualBox

Changeset 4166 in vbox


Ignore:
Timestamp:
Aug 16, 2007 8:59:13 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23656
Message:

FE/Qt: More arguments to VBoxProblemReporter::cannotSetSnapshotFolder().

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r4165 r4166  
    120120    void cannotDiscardSavedState (const CConsole &console);
    121121
    122     void cannotSetSnapshotFolder (const CMachine &aMachine);
     122    void cannotSetSnapshotFolder (const CMachine &aMachine, const QString &aPath);
    123123    void cannotDiscardSnapshot (const CConsole &console, const CSnapshot &snapshot);
    124124    void cannotDiscardSnapshot (const CProgress &progress, const CSnapshot &snapshot);
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r4165 r4166  
    753753}
    754754
    755 void VBoxProblemReporter::cannotSetSnapshotFolder (const CMachine &aMachine)
     755void VBoxProblemReporter::cannotSetSnapshotFolder (const CMachine &aMachine,
     756                                                   const QString &aPath)
    756757{
    757758    message (
    758759        mainWindowShown(),
    759760        Error,
    760         tr ("Failed to change the snapshot folder path."),
     761        tr ("Failed to change the snapshot folder path of the "
     762            "virtual machine <b>%1<b> to <nobr><b>%2</b></nobr>.")
     763            .arg (aMachine.GetName())
     764            .arg (aPath),
    761765        formatErrorInfo (aMachine));
    762766}
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r4165 r4166  
    18531853        cmachine.SetSnapshotFolder (leSnapshotFolder->text());
    18541854        if (!cmachine.isOk())
    1855             vboxProblem().cannotSetSnapshotFolder (cmachine);
     1855            vboxProblem()
     1856                .cannotSetSnapshotFolder (cmachine,
     1857                    QDir::convertSeparators (leSnapshotFolder->text()));
    18561858    }
    18571859
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