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
OpenFlipper-Free
Plugin-Scripting
Commits
1a723a04
Commit
1a723a04
authored
Mar 09, 2020
by
Jan Möbius
Browse files
Removed deprecated function calls
parent
0da4019c
Changes
1
Hide whitespace changes
Inline
Side-by-side
widgets/codeeditor.cc
View file @
1a723a04
...
...
@@ -71,7 +71,7 @@ int CodeEditorWidget::lineNumberAreaWidth() {
++
digits
;
}
int
space
=
3
+
fontMetrics
().
width
(
QLatin1Char
(
'9'
))
*
digits
;
int
space
=
3
+
fontMetrics
().
horizontalAdvance
(
QLatin1Char
(
'9'
))
*
digits
;
return
space
;
}
...
...
Write
Preview
Markdown
is supported
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