diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-11-21 23:24:58 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-22 07:33:49 -0800 |
commit | cee021ddd3d67bfcbcaf1b51c33ee4ba4e83125e (patch) | |
tree | 20ffcaff2af4c3f6b5317b586aaa409c3834b2b0 /qt-ui/models.cpp | |
parent | 0f85243cf3cabd0314f84ba47a341ddf4f54d11a (diff) | |
download | subsurface-cee021ddd3d67bfcbcaf1b51c33ee4ba4e83125e.tar.gz |
Better positioning of the text on the table cells.
Better positioning of the text on the table cells. On KDE systems the
text got too near the line that divided the cells, this way the text is
placed on the middle of the cell.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 16ba80a56..01325638c 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -105,7 +105,7 @@ QVariant CylindersModel::data(const QModelIndex& index, int role) const break; } case Qt::TextAlignmentRole: - ret = Qt::AlignHCenter; + ret = Qt::AlignCenter; break; case Qt::DisplayRole: case Qt::EditRole: |