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:
parent
bc461d091c
commit
cdac737925
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user