Coding style
This commit is contained in:
parent
9ce55bfb83
commit
e6c80ed5bd
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user