diff --git a/src/modules/partition/gui/PartitionBarsView.cpp b/src/modules/partition/gui/PartitionBarsView.cpp index 591a006b3..4d8294d22 100644 --- a/src/modules/partition/gui/PartitionBarsView.cpp +++ b/src/modules/partition/gui/PartitionBarsView.cpp @@ -546,7 +546,7 @@ PartitionBarsView::computeItemsVector( const QModelIndex& parent ) const if ( items[ row ].size < 0.01 * total ) // If this item is smaller than 1% of everything, { // force its width to 1%. adjustedTotal -= items[ row ].size; - items[ row ].size = qRound( 0.01 * total ); + items[ row ].size = 0.01 * total; adjustedTotal += items[ row ].size; } }