Correctly register PathList alias

PR #16411.
This commit is contained in:
Vladimir Golovnev
2022-02-10 08:12:33 +03:00
committed by GitHub
parent 2668a42f0c
commit 78eaa49cd6

View File

@@ -42,7 +42,7 @@ const Qt::CaseSensitivity CASE_SENSITIVITY = Qt::CaseInsensitive;
const Qt::CaseSensitivity CASE_SENSITIVITY = Qt::CaseSensitive;
#endif
const int PATHLIST_TYPEID = qRegisterMetaType<PathList>();
const int PATHLIST_TYPEID = qRegisterMetaType<PathList>("PathList");
Path::Path(const QString &pathStr)
: m_pathStr {QDir::cleanPath(pathStr)}