From 0d638a6fae2008e20f3bb8ce0aa7918711d7be4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20M=C3=A1rton?= Date: Sat, 13 Jun 2020 09:22:42 +0200 Subject: [PATCH] Fix qVariantFromValue deprecation (#94) --- 3rdparty/serializer | 2 +- src/defines.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/serializer b/3rdparty/serializer index e0bdec4..b0194da 160000 --- a/3rdparty/serializer +++ b/3rdparty/serializer @@ -1 +1 @@ -Subproject commit e0bdec4a7c93b4d4307fd89200000ff817a86c99 +Subproject commit b0194da3e12370049e63c4682039ffd832aa7d2e diff --git a/src/defines.h b/src/defines.h index 9299611..d5010f6 100644 --- a/src/defines.h +++ b/src/defines.h @@ -187,7 +187,7 @@ inline bool nutClassInfo(const QMetaClassInfo &classInfo, type = parts[0]; name = parts[1]; - value = qVariantFromValue(parts[2]); + value = QVariant::fromValue(parts[2]); return true; }