Browse Source

Correctly register PathList alias

PR #16411.
adaptive-webui-19844
Vladimir Golovnev 3 years ago committed by GitHub
parent
commit
78eaa49cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/base/path.cpp

2
src/base/path.cpp

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

Loading…
Cancel
Save