mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
Stupid compilers are stupid.
This commit is contained in:
parent
7cd60673e7
commit
bea6b5f17e
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ PartitionLabelsView::getIndexesToDraw( const QModelIndex& parent ) const
|
||||||
//HACK: horrible special casing follows.
|
//HACK: horrible special casing follows.
|
||||||
// To save vertical space, we choose to hide short instances of free space.
|
// To save vertical space, we choose to hide short instances of free space.
|
||||||
// Arbitrary limit: 10MB.
|
// Arbitrary limit: 10MB.
|
||||||
const qint64 maxHiddenB = 10'000'000;
|
const qint64 maxHiddenB = 10000000;
|
||||||
if ( index.data( PartitionModel::IsFreeSpaceRole ).toBool() &&
|
if ( index.data( PartitionModel::IsFreeSpaceRole ).toBool() &&
|
||||||
index.data( PartitionModel::SizeRole ).toLongLong() < maxHiddenB )
|
index.data( PartitionModel::SizeRole ).toLongLong() < maxHiddenB )
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue