From 8931d7808d7d43907db788ce58fa1fb6e6a79d6e Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 20 Feb 2024 12:00:18 +0200 Subject: [PATCH] Fix build on mac. --- src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp b/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp index ed8b0a900..4e771bf26 100644 --- a/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp @@ -92,7 +92,7 @@ auto VPE::VLineColorProperty::createEditor(QWidget *parent, const QStyleOptionVi auto *tmpEditor = new QComboBox(parent); tmpEditor->setPalette(parent->palette()); - int const size = tmpEditor->iconSize().height(); + int size = tmpEditor->iconSize().height(); // NOLINT(misc-const-correctness) // On Mac pixmap should be little bit smaller. #if defined(Q_OS_MAC) size -= 2; // Two pixels should be enough.