From 0c73b2ced079670554c4633b80708f0c247e32a3 Mon Sep 17 00:00:00 2001 From: Gennady Pospelov <g.pospelov@fz-juelich.de> Date: Mon, 8 Jun 2020 08:54:26 +0200 Subject: [PATCH] Fix missed semicolon in code which appears in older Qt versions --- GUI/coregui/utils/StyleUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/coregui/utils/StyleUtils.cpp b/GUI/coregui/utils/StyleUtils.cpp index f44956b7fb8..73bb4cbe7b8 100644 --- a/GUI/coregui/utils/StyleUtils.cpp +++ b/GUI/coregui/utils/StyleUtils.cpp @@ -162,7 +162,7 @@ QSize FindSizeOfLetterM(const QWidget* widget) #if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0) auto em = fontMetric.horizontalAdvance('M'); #else - auto em = fontMetric.width('M') + auto em = fontMetric.width('M'); #endif auto fontAscent = fontMetric.ascent(); -- GitLab