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

Revert "Removed deprecated function"

This reverts commit 93e243c4
parent 93e243c4
......@@ -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;
}
......
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