Fix build on mac.
This commit is contained in:
parent
5f03a272d4
commit
8931d7808d
|
@ -92,7 +92,7 @@ auto VPE::VLineColorProperty::createEditor(QWidget *parent, const QStyleOptionVi
|
||||||
auto *tmpEditor = new QComboBox(parent);
|
auto *tmpEditor = new QComboBox(parent);
|
||||||
tmpEditor->setPalette(parent->palette());
|
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.
|
// On Mac pixmap should be little bit smaller.
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
size -= 2; // Two pixels should be enough.
|
size -= 2; // Two pixels should be enough.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user