diff options
-rw-r--r-- | qt-ui/models.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index f44704939..71e0ec19d 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -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()) { |