From 78eaa49cd6b3b59c064cd461fe6d30eceaeac770 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Thu, 10 Feb 2022 08:12:33 +0300 Subject: [PATCH] Correctly register PathList alias PR #16411. --- src/base/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/path.cpp b/src/base/path.cpp index 219a84b65..89e3d3b0e 100644 --- a/src/base/path.cpp +++ b/src/base/path.cpp @@ -42,7 +42,7 @@ const Qt::CaseSensitivity CASE_SENSITIVITY = Qt::CaseInsensitive; const Qt::CaseSensitivity CASE_SENSITIVITY = Qt::CaseSensitive; #endif -const int PATHLIST_TYPEID = qRegisterMetaType(); +const int PATHLIST_TYPEID = qRegisterMetaType("PathList"); Path::Path(const QString &pathStr) : m_pathStr {QDir::cleanPath(pathStr)}