Stupid compilers are stupid.

This commit is contained in:
Teo Mrnjavac 2016-06-13 15:13:26 +02:00
parent 7cd60673e7
commit bea6b5f17e

View File

@ -161,7 +161,7 @@ PartitionLabelsView::getIndexesToDraw( const QModelIndex& parent ) const
//HACK: horrible special casing follows.
// To save vertical space, we choose to hide short instances of free space.
// Arbitrary limit: 10MB.
const qint64 maxHiddenB = 10'000'000;
const qint64 maxHiddenB = 10000000;
if ( index.data( PartitionModel::IsFreeSpaceRole ).toBool() &&
index.data( PartitionModel::SizeRole ).toLongLong() < maxHiddenB )
continue;