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

@ -106,7 +106,7 @@ QVariant CylindersModel::data(const QModelIndex& index, int role) const
}
case Qt::TextAlignmentRole:
ret = Qt::AlignCenter;
break;
break;
case Qt::DisplayRole:
case Qt::EditRole:
switch(index.column()) {
@ -447,8 +447,8 @@ QVariant WeightModel::data(const QModelIndex& index, int role) const
ret = defaultModelFont();
break;
case Qt::TextAlignmentRole:
ret = Qt::AlignRight;
break;
ret = Qt::AlignCenter;
break;
case Qt::DisplayRole:
case Qt::EditRole:
switch(index.column()) {