summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-06 14:35:31 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-06 13:13:30 +0000
commit483f257e887a590d3462d0fc60b7eebfa50a3d19 (patch)
treea87732bfc62e512a318607679501bf17ee03b4c0
parent00b81f0806958731b5fc25ee9584e0773bf757d3 (diff)
downloadqttools-483f257e887a590d3462d0fc60b7eebfa50a3d19.tar.gz
Qt Designer: Fix editing horizontal alignment properties
Fix slot connection, amending f6c9325f639d882992bb3c6386185defd2090498. Pick-to: 6.5 Fixes: QTBUG-112682 Change-Id: Idb325f31ed8f454433f4b8d28183a571877972ff Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r--src/shared/qtpropertybrowser/qtvariantproperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/qtpropertybrowser/qtvariantproperty.cpp b/src/shared/qtpropertybrowser/qtvariantproperty.cpp
index 51c9e7595..87f8a4afe 100644
--- a/src/shared/qtpropertybrowser/qtvariantproperty.cpp
+++ b/src/shared/qtpropertybrowser/qtvariantproperty.cpp
@@ -1168,7 +1168,7 @@ QtVariantPropertyManager::QtVariantPropertyManager(QObject *parent)
d_ptr->m_typeToAttributeToAttributeType[enumId][d_ptr->m_enumIconsAttribute] =
iconMapTypeId();
connect(enumPropertyManager, &QtEnumPropertyManager::valueChanged,
- this, [this](QtProperty *property, const QColor &value)
+ this, [this](QtProperty *property, int value)
{ d_ptr->slotValueChanged(property, value); });
connect(enumPropertyManager, &QtEnumPropertyManager::enumNamesChanged,
this, [this](QtProperty *property, const QStringList &value)