Changeset 73591 in vbox for trunk/src/VBox
- Timestamp:
- Aug 9, 2018 2:14:15 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124230
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageBasic3.cpp
r73588 r73591 49 49 50 50 /* Other VBox includes: */ 51 #include <iprt/cdefs.h> 51 52 #include <iprt/path.h> 52 53 /* External includes: */54 #include <math.h>55 53 56 54 UIWizardNewVDPage3::UIWizardNewVDPage3(const QString &strDefaultName, const QString &strDefaultPath) … … 278 276 /* Try to create virtual hard drive file: */ 279 277 fResult = qobject_cast<UIWizardNewVD*>(wizard())->createVirtualDisk(); 280 /* Unlock finish button: */278 /* Unlock finish button: */ 281 279 endProcessing(); 282 280 } … … 296 294 { 297 295 /* Limit the medium size to 4GB. minus 128 MB for file overhead: */ 298 qulonglong fatLimit = 4 * pow(2,30) - 128 * pow(2, 20);296 qulonglong fatLimit = _4G - _128M; 299 297 if (mediumSize() >= fatLimit) 300 298 return false;
Note:
See TracChangeset
for help on using the changeset viewer.