VirtualBox

Ignore:
Timestamp:
Feb 17, 2007 4:44:08 AM (18 years ago)
Author:
vboxsync
Message:

case insensitive names are the most common on mac os x at the moment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewHDWzd.ui.h

    r875 r958  
    273273{
    274274    QString name = QDir::convertSeparators (leName->text());
    275    
     275
    276276    /* remove all trailing dots to avoid multiple dots before .vdi */
    277277    int len;
    278278    while (len = name.length(), len > 0 && name [len - 1] == '.')
    279279        name.truncate (len - 1);
    280    
     280
    281281    QString ext = QFileInfo (name).extension();
    282282    /* compare against the proper case */
    283283#if defined (Q_OS_LINUX)
    284 #elif defined (Q_OS_WIN) || defined (Q_OS_OS2)
     284#elif defined (Q_OS_WIN) || defined (Q_OS_OS2) || defined (Q_OS_MACX)
    285285    ext = ext.lower();
    286286#else
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