mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 16:38:21 -04:00
commit
bbd2afc20f
14 changed files with 69 additions and 73 deletions
|
@ -74,7 +74,7 @@ canBeReplaced( Partition* candidate )
|
|||
bool ok = false;
|
||||
double requiredStorageGB = Calamares::JobQueue::instance()
|
||||
->globalStorage()
|
||||
->value( "requiredStorageGB" )
|
||||
->value( "requiredStorageGiB" )
|
||||
.toDouble( &ok );
|
||||
|
||||
qint64 availableStorageB = candidate->capacity();
|
||||
|
@ -146,7 +146,7 @@ canBeResized( Partition* candidate )
|
|||
bool ok = false;
|
||||
double requiredStorageGB = Calamares::JobQueue::instance()
|
||||
->globalStorage()
|
||||
->value( "requiredStorageGB" )
|
||||
->value( "requiredStorageGiB" )
|
||||
.toDouble( &ok );
|
||||
// We require a little more for partitioning overhead and swap file
|
||||
double advisedStorageGB = requiredStorageGB + 0.5 + 2.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue