diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-24 12:00:46 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-25 11:09:21 +0200 |
commit | 7b27f46f27cedf651836002878b35d2afdeb43de (patch) | |
tree | 7709b16a4408270e0d9d259126130271ad0a8eb9 /src/designer/src/components/taskmenu/itemlisteditor.cpp | |
parent | f66031d7c9bc98e47340682a69cdc8e6fd9e9f8d (diff) |
Qt Designer: Remove remaining (deprecated) QLatin1String
Pick-to: 6.6 6.5
Change-Id: I3f345fc366bb4d7a7844acfbf92b736565fc70df
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/components/taskmenu/itemlisteditor.cpp')
-rw-r--r-- | src/designer/src/components/taskmenu/itemlisteditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/taskmenu/itemlisteditor.cpp b/src/designer/src/components/taskmenu/itemlisteditor.cpp index f24af1fc8..b0e9855ff 100644 --- a/src/designer/src/components/taskmenu/itemlisteditor.cpp +++ b/src/designer/src/components/taskmenu/itemlisteditor.cpp @@ -98,7 +98,7 @@ void AbstractItemEditor::setupProperties(const PropertyDefinition *propList, for (int i = 0; propList[i].name; i++) { int type = propList[i].typeFunc ? propList[i].typeFunc() : propList[i].type; int role = propList[i].role; - QtVariantProperty *prop = m_propertyManager->addProperty(type, QLatin1String(propList[i].name)); + QtVariantProperty *prop = m_propertyManager->addProperty(type, QLatin1StringView(propList[i].name)); if (role == Qt::TextAlignmentRole) { prop->setAttribute(DesignerPropertyManager::alignDefaultAttribute(), QVariant(uint(alignDefault))); |