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)}