Fix build on mac.

develop
Roman Telezhynskyi 2024-02-20 12:00:18 +02:00
parent 5f03a272d4
commit 8931d7808d
1 changed files with 1 additions and 1 deletions

View File

@ -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.