summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/uilib/properties_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/uilib/properties_p.h')
-rw-r--r--src/designer/src/lib/uilib/properties_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/lib/uilib/properties_p.h b/src/designer/src/lib/uilib/properties_p.h
index 05bd3cd7b..aa707b323 100644
--- a/src/designer/src/lib/uilib/properties_p.h
+++ b/src/designer/src/lib/uilib/properties_p.h
@@ -133,7 +133,7 @@ public:
// Convert key to value for a given QMetaEnum
template <class EnumType>
-inline EnumType enumKeyToValue(const QMetaEnum &metaEnum,const char *key, const EnumType* = 0)
+inline EnumType enumKeyToValue(const QMetaEnum &metaEnum,const char *key, const EnumType* = nullptr)
{
int val = metaEnum.keyToValue(key);
if (val == -1) {
@@ -147,7 +147,7 @@ inline EnumType enumKeyToValue(const QMetaEnum &metaEnum,const char *key, const
// Convert keys to value for a given QMetaEnum
template <class EnumType>
-inline EnumType enumKeysToValue(const QMetaEnum &metaEnum,const char *keys, const EnumType* = 0)
+inline EnumType enumKeysToValue(const QMetaEnum &metaEnum,const char *keys, const EnumType* = nullptr)
{
int val = metaEnum.keysToValue(keys);
if (val == -1) {