diff options
-rw-r--r-- | filestreemodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filestreemodel.cpp b/filestreemodel.cpp index f7763e4..b6738af 100644 --- a/filestreemodel.cpp +++ b/filestreemodel.cpp @@ -174,7 +174,8 @@ QVariant FilesTreeModel::data(const QModelIndex &index, int role) const{ } if(role == Qt::TextAlignmentRole){ if(index.column() > 0 && index.column() < 4){ - return Qt::AlignRight; + int retval = Qt::AlignRight | Qt::AlignVCenter; + return retval; } } if(role == Qt::ForegroundRole){ |