Changeset 454e8cd3


Ignore:
Timestamp:
08/14/13 08:33:59 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
d277133
Parents:
fdb09c1
Message:

For sanity sake, don't try to do installs to disks < 4GB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-installgui/wizardDisk.cpp

    rfdb09c1 r454e8cd3  
    247247         } 
    248248 
    249          // Comment out this disk space check 
    250          // We will warn the user right before install if the selected 
    251          // Disk / partition looks too small 
    252          //if ( ! checkDiskSpace() ) { 
    253          //  button(QWizard::NextButton)->setEnabled(false); 
    254          //  return false; 
    255          //} 
     249         // If the select partition is just too small, we can stop here 
     250         if ( ! checkDiskSpace() ) { 
     251           button(QWizard::NextButton)->setEnabled(false); 
     252           return false; 
     253         } 
    256254         
    257255         // if we get this far, all the fields are filled in 
     
    342340bool wizardDisk::checkDiskSpace() 
    343341{ 
    344   if ( getDiskSliceSize() < 10000 ) 
     342  if ( getDiskSliceSize() < 4000 ) 
    345343    return false; 
    346344 
Note: See TracChangeset for help on using the changeset viewer.