mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 12:25:38 -04:00
Correctly handle free space in Splitter widget.
This commit is contained in:
parent
7f6199ad37
commit
c1b4320f5c
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include "core/ColorUtils.h"
|
||||
#include "core/PartitionIterator.h"
|
||||
#include "core/KPMHelpers.h"
|
||||
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/CalamaresUtilsGui.h"
|
||||
|
@ -65,7 +66,7 @@ PartitionSplitterWidget::init( Device* dev, bool drawNestedPartitions )
|
|||
PartitionSplitterItem newItem = {
|
||||
( *it )->partitionPath(),
|
||||
ColorUtils::colorForPartition( *it ),
|
||||
false,
|
||||
KPMHelpers::isPartitionFreeSpace( *it ),
|
||||
( *it )->capacity(),
|
||||
{}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue