@ -33,7 +33,8 @@
// Qt
#include <QColor>
static QColor COLORS[ 4 ] = {
static QColor COLORS[ 4 ] =
{
"#448eca",
"#a5cc42",
"#d87e30",
@ -99,7 +99,8 @@ PartitionPreview::drawPartitions( QPainter* painter, const QRect& rect, const QM
return;
const int count = modl->rowCount( parent );
const int totalWidth = rect.width();
struct Item {
struct Item
qreal size;
QModelIndex index;
};