VirtualBox

Ignore:
Timestamp:
Apr 5, 2011 11:28:35 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Better warning for situations when user tries to create new VM while <default machine folder> doesn't exists or inaccessible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

    r36393 r36553  
    20842084void VBoxProblemReporter::warnAboutCannotCreateMachineFolder(QWidget *pParent, const QString &strFolderName)
    20852085{
     2086    QFileInfo fi(strFolderName);
    20862087    message(pParent ? pParent : mainWindowShown(), Critical,
    2087             tr("<p>Cannot create the machine folder:</p>"
    2088                "<p><b>%1</b></p>"
    2089                "<p>Please check you have the permissions required to do so.</p>").arg(strFolderName));
     2088            tr("<p>Cannot create the machine folder <b>%1</b> in the parent directory <nobr><b>%2</b>.</nobr></p>"
     2089               "<p>Please check what the parent directory is really exists and "
     2090               "you have the permissions required to do so.</p>").arg(fi.fileName()).arg(fi.absolutePath()));
    20902091}
    20912092
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