Coding style

This commit is contained in:
Aurélien Gâteau 2014-08-05 09:54:30 +02:00
parent 9ce55bfb83
commit e6c80ed5bd
6 changed files with 29 additions and 27 deletions

View File

@ -33,7 +33,8 @@
// Qt
#include <QColor>
static QColor COLORS[ 4 ] = {
static QColor COLORS[ 4 ] =
{
"#448eca",
"#a5cc42",
"#d87e30",

View File

@ -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;
};