- Timestamp:
- Oct 27, 2011 12:44:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizard.cpp
r38572 r39128 813 813 { 814 814 /* If valid file extension is missed, append it: */ 815 if (QFileInfo(strChosenFilePath). completeSuffix().isEmpty())815 if (QFileInfo(strChosenFilePath).suffix().isEmpty()) 816 816 strChosenFilePath += QString(".%1").arg(m_strDefaultExtension); 817 817 m_pLocationEditor->setText(QDir::toNativeSeparators(strChosenFilePath)); … … 878 878 879 879 /* Add passed extension if its not done yet: */ 880 if (QFileInfo(strFileName). completeSuffix().toLower() != strExtension)880 if (QFileInfo(strFileName).suffix().toLower() != strExtension) 881 881 strFileName += QString(".%1").arg(strExtension); 882 882
Note:
See TracChangeset
for help on using the changeset viewer.