Skip to content
Snippets Groups Projects
Commit 1a723a04 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed deprecated function calls

parent 0da4019c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment