summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/shared/qdesigner_propertyeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_propertyeditor.cpp')
-rw-r--r--src/designer/src/lib/shared/qdesigner_propertyeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/qdesigner_propertyeditor.cpp b/src/designer/src/lib/shared/qdesigner_propertyeditor.cpp
index 3a26553fd..69f1cdf87 100644
--- a/src/designer/src/lib/shared/qdesigner_propertyeditor.cpp
+++ b/src/designer/src/lib/shared/qdesigner_propertyeditor.cpp
@@ -49,7 +49,7 @@ using PropertyNameTypeMap = QHash<QString, StringPropertyParameters>;
static const PropertyNameTypeMap &stringPropertyTypes()
{
static PropertyNameTypeMap propertyNameTypeMap;
- if (propertyNameTypeMap.empty()) {
+ if (propertyNameTypeMap.isEmpty()) {
const StringPropertyParameters richtext(ValidationRichText, true);
// Accessibility. Both are texts the narrator reads
propertyNameTypeMap.insert(QStringLiteral("accessibleDescription"), richtext);