summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index fffc79700..1faa46fb1 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -952,10 +952,10 @@ QVariant DiveItem::data(int column, int role) const
case DATE: /* fall through */
case SUIT: /* fall through */
case LOCATION:
- retVal = Qt::AlignLeft;
+ retVal = int(Qt::AlignLeft | Qt::AlignVCenter);
break;
default:
- retVal = Qt::AlignRight;
+ retVal = int(Qt::AlignRight | Qt::AlignVCenter);
break;
}
break;