Commit 93e243c4 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed deprecated function

parent 4594ff00
......@@ -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;
}
......
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