VirtualBox

Changeset 34095 in vbox


Ignore:
Timestamp:
Nov 16, 2010 10:32:50 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67794
Message:

FE/Qt4: one more place to the list of vbox extensions

File:
1 edited

Legend:

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

    r34070 r34095  
    11301130        /* This should be in sync with UIVMListBoxItem::recache(): */
    11311131        QFileInfo fi(machine.GetSettingsFilePath());
    1132         const QString strName = fi.suffix().toLower() == "xml" ? fi.completeBaseName() : fi.fileName();
     1132        const QString strName = VBoxGlobal::hasAllowedExtension(fi.completeSuffix(), VBoxDefs::VBoxFileExts) ? fi.completeBaseName() : fi.fileName();
    11331133        const QString strBase = tr("You are about to remove the inaccessible virtual machine "
    11341134                                   "<b>%1</b> from the machine list. Do you wish to proceed?")
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