Skip to content
Snippets Groups Projects
Unverified Commit 177d0521 authored by Beerwerth, Randolf's avatar Beerwerth, Randolf Committed by GitHub
Browse files

Merge pull request #964 from gpospelov/FixFontMetricOnQt5.9

Fix missed semicolon in code which appears in older Qt versions
parents e828c596 0c73b2ce
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ QSize FindSizeOfLetterM(const QWidget* widget) ...@@ -162,7 +162,7 @@ QSize FindSizeOfLetterM(const QWidget* widget)
#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)
auto em = fontMetric.horizontalAdvance('M'); auto em = fontMetric.horizontalAdvance('M');
#else #else
auto em = fontMetric.width('M') auto em = fontMetric.width('M');
#endif #endif
auto fontAscent = fontMetric.ascent(); auto fontAscent = fontMetric.ascent();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment