Better positioning of the text on Weightsystems table.

Same as the cylinder, but for weightsystem.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-11-21 23:36:39 -02:00 committed by Dirk Hohndel
parent bc461d091c
commit cdac737925

View file

@ -447,7 +447,7 @@ QVariant WeightModel::data(const QModelIndex& index, int role) const
ret = defaultModelFont(); ret = defaultModelFont();
break; break;
case Qt::TextAlignmentRole: case Qt::TextAlignmentRole:
ret = Qt::AlignRight; ret = Qt::AlignCenter;
break; break;
case Qt::DisplayRole: case Qt::DisplayRole:
case Qt::EditRole: case Qt::EditRole: