mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
[welcome] [partition] Rename GlobalStorage variable used for storage
- Change name passed into GS to use "GiB" instead of "GB", for consistency. This needs to be done in consumers as well.
This commit is contained in:
parent
599b34c70e
commit
502d43d111
4 changed files with 6 additions and 6 deletions
|
@ -284,7 +284,7 @@ canBeReplaced( Partition* candidate )
|
|||
bool ok = false;
|
||||
double requiredStorageGB = Calamares::JobQueue::instance()
|
||||
->globalStorage()
|
||||
->value( "requiredStorageGB" )
|
||||
->value( "requiredStorageGiB" )
|
||||
.toDouble( &ok );
|
||||
|
||||
qint64 availableStorageB = candidate->capacity();
|
||||
|
@ -356,7 +356,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