Skip to content
GitLab
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
0da4019c
Commit
0da4019c
authored
Feb 06, 2020
by
Jan Möbius
Browse files
Merge branch 'revert-
93e243c4
' into 'master'
Revert "Removed deprecated function" See merge request
!1
parents
93e243c4
edd29e76
Changes
1
Hide whitespace changes
Inline
Side-by-side
widgets/codeeditor.cc
View file @
0da4019c
...
...
@@ -71,7 +71,7 @@ int CodeEditorWidget::lineNumberAreaWidth() {
++
digits
;
}
int
space
=
3
+
fontMetrics
().
horizontalAdvance
(
QLatin1Char
(
'9'
))
*
digits
;
int
space
=
3
+
fontMetrics
().
width
(
QLatin1Char
(
'9'
))
*
digits
;
return
space
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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