Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
2b85ca96
Verified
Commit
2b85ca96
authored
Mar 06, 2021
by
Waqar Ahmed
Browse files
Fix alignments for top-level nodes
parent
3ec58979
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitstatusmodel.cpp
View file @
2b85ca96
...
...
@@ -101,9 +101,9 @@ QVariant GitStatusModel::data(const QModelIndex &index, int role) const
return
NodeStage
+
row
;
}
else
if
(
role
==
Qt
::
TextAlignmentRole
)
{
if
(
index
.
column
()
==
0
)
{
return
Qt
::
AlignLeft
;
return
(
int
)(
Qt
::
AlignLeft
|
Qt
::
AlignVCenter
)
;
}
else
{
return
Qt
::
AlignRight
;
return
(
int
)(
Qt
::
AlignRight
|
Qt
::
AlignVCenter
)
;
}
}
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment