summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/formeditor/layout_propertysheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/formeditor/layout_propertysheet.cpp')
-rw-r--r--src/designer/src/components/formeditor/layout_propertysheet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/formeditor/layout_propertysheet.cpp b/src/designer/src/components/formeditor/layout_propertysheet.cpp
index e0e456d32..0bb3ecb2f 100644
--- a/src/designer/src/components/formeditor/layout_propertysheet.cpp
+++ b/src/designer/src/components/formeditor/layout_propertysheet.cpp
@@ -103,7 +103,7 @@ static bool isIntegerList(const QString &s)
static LayoutPropertyType layoutPropertyType(const QString &name)
{
static QHash<QString, LayoutPropertyType> namePropertyMap;
- if (namePropertyMap.empty()) {
+ if (namePropertyMap.isEmpty()) {
namePropertyMap.insert(QLatin1String(leftMargin), LayoutPropertyLeftMargin);
namePropertyMap.insert(QLatin1String(topMargin), LayoutPropertyTopMargin);
namePropertyMap.insert(QLatin1String(rightMargin), LayoutPropertyRightMargin);