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

Removed deprecated function calls

parent 0da4019c
...@@ -71,7 +71,7 @@ int CodeEditorWidget::lineNumberAreaWidth() { ...@@ -71,7 +71,7 @@ int CodeEditorWidget::lineNumberAreaWidth() {
++digits; ++digits;
} }
int space = 3 + fontMetrics().width(QLatin1Char('9')) * digits; int space = 3 + fontMetrics().horizontalAdvance(QLatin1Char('9')) * digits;
return space; 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