diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/models.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 823619f64..1b7f028e7 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1053,16 +1053,7 @@ QVariant DiveItem::data(int column, int role) const switch (role) { case Qt::TextAlignmentRole: - switch (column) { - case DATE: /* fall through */ - case SUIT: /* fall through */ - case LOCATION: - retVal = int(Qt::AlignLeft | Qt::AlignVCenter); - break; - default: - retVal = int(Qt::AlignRight | Qt::AlignVCenter); - break; - } + retVal = int(Qt::AlignLeft | Qt::AlignVCenter); break; case DiveTripModel::SORT_ROLE: Q_ASSERT(dive != NULL); |