From 268deb31fb4f2f7a37c05b69e189bae87c7a8050 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 7 May 2020 03:16:18 +0100 Subject: [PATCH] Further Qt v5.14 compatibility updates --- qt_helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt_helpers.hpp b/qt_helpers.hpp index 04e082e66..bdb7cc935 100644 --- a/qt_helpers.hpp +++ b/qt_helpers.hpp @@ -74,7 +74,7 @@ public: static QVariant asQVariant(T * ptr) { - return qVariantFromValue (reinterpret_cast (ptr)); + return QVariant::fromValue (reinterpret_cast (ptr)); } };