VirtualBox

Ignore:
Timestamp:
Nov 15, 2010 4:44:52 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: 5356: Register/unregister VM in GUI: Added *.xml files support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSelectorWnd.cpp

    r34069 r34077  
    597597    QString strBaseFolder = vbox.GetSystemProperties().GetDefaultMachineFolder();
    598598    QString strTitle = tr("Select a virtual machine file");
    599     QString strFilter = tr("Virtual machine files (*.vbox)");
     599    QStringList extensions;
     600    for (int i = 0; i < VBoxDefs::VBoxFileExts.size(); ++i)
     601        extensions << QString("*.%1").arg(VBoxDefs::VBoxFileExts[i]);
     602    QString strFilter = tr("Virtual machine files (%1)").arg(extensions.join(" "));
    600603
    601604    /* Create open file dialog: */
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