Changeset 958 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 17, 2007 4:44:08 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewHDWzd.ui.h
r875 r958 273 273 { 274 274 QString name = QDir::convertSeparators (leName->text()); 275 275 276 276 /* remove all trailing dots to avoid multiple dots before .vdi */ 277 277 int len; 278 278 while (len = name.length(), len > 0 && name [len - 1] == '.') 279 279 name.truncate (len - 1); 280 280 281 281 QString ext = QFileInfo (name).extension(); 282 282 /* compare against the proper case */ 283 283 #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) 285 285 ext = ext.lower(); 286 286 #else
Note:
See TracChangeset
for help on using the changeset viewer.