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

Merge branch 'revert-93e243c4' into 'master'

Revert "Removed deprecated function"

See merge request !1
parents 93e243c4 edd29e76
......@@ -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