VirtualBox

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


Ignore:
Timestamp:
Apr 28, 2008 3:52:46 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30279
Message:

FE/Qt: Message simplification.

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

Legend:

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

    r8395 r8428  
    197197
    198198    int confirmDetachSATASlots (QWidget *aParent);
    199     int confirmRunNewHDWzdOrVDM (QWidget *aParent, const QString &aVMName);
     199    int confirmRunNewHDWzdOrVDM (QWidget *aParent);
    200200
    201201    void cannotCreateHardDiskImage (
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r8409 r8428  
    10711071}
    10721072
    1073 int VBoxProblemReporter::confirmRunNewHDWzdOrVDM (QWidget *aParent,
    1074                                                   const QString &aVMName)
    1075 {
    1076     return message (aParent, Question,
    1077         tr ("<p>The number of currently available virtual hard disks which can "
    1078             "be attached to the machine <b><nobr>%1</nobr></b> is less "
    1079             "than the number of hard disk attachments for this virtual "
    1080             "machine.</p>"
    1081             "<p>You can press the <b>Create</b> button to start "
    1082             "the <i>New Virtual Disk</i> wizard and create a new "
    1083             "hard disk, or press the <b>Select</b> button to open "
    1084             "the <i>Virtual Disk Manager</i> and select what to do.</p>")
    1085             .arg (aVMName),
     1073int VBoxProblemReporter::confirmRunNewHDWzdOrVDM (QWidget* aParent)
     1074{
     1075    return message (aParent, Info,
     1076        tr ("<p>There are no unused hard disks available for the newly created "
     1077            "attachment.</p>"
     1078            "<p>Press the <b>Create</b> button to start the <i>New Virtual "
     1079            "Disk</i> wizard and create a new hard disk, or press the "
     1080            "<b>Select</b> button to open the <i>Virtual Disk Manager</i> "
     1081            "and select what to do.</p>"),
    10861082        0, /* aAutoConfirmId */
    10871083        QIMessageBox::Yes,
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxHardDiskSettings.ui.h

    r8419 r8428  
    745745    /* Ask the user for method to add new vdi */
    746746    int result = mLvHD->childCount() - 1 > item->vdiCount() ?
    747         vboxProblem().confirmRunNewHDWzdOrVDM (this, mMachine.GetName()) :
     747        vboxProblem().confirmRunNewHDWzdOrVDM (this) :
    748748        QIMessageBox::Cancel;
    749749    if (result == QIMessageBox::Yes)
Note: See TracChangeset for help on using the changeset viewer.

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