Verified Commit 2b85ca96 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix alignments for top-level nodes

parent 3ec58979
...@@ -101,9 +101,9 @@ QVariant GitStatusModel::data(const QModelIndex &index, int role) const ...@@ -101,9 +101,9 @@ QVariant GitStatusModel::data(const QModelIndex &index, int role) const
return NodeStage + row; return NodeStage + row;
} else if (role == Qt::TextAlignmentRole) { } else if (role == Qt::TextAlignmentRole) {
if (index.column() == 0) { if (index.column() == 0) {
return Qt::AlignLeft; return (int)(Qt::AlignLeft | Qt::AlignVCenter);
} else { } else {
return Qt::AlignRight; return (int)(Qt::AlignRight | Qt::AlignVCenter);
} }
} }
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment