Commit 65113044 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile against qt5.15

parent b119d039
...@@ -45,7 +45,11 @@ inline QStringList &unquote(QStringList &strings) ...@@ -45,7 +45,11 @@ inline QStringList &unquote(QStringList &strings)
QStringList CategoryHierarchyReader::path(QString string) QStringList CategoryHierarchyReader::path(QString string)
{ {
QStringList _path QStringList _path
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
= quote(string).split(CategoryConfig::categorySeparator, QString::SkipEmptyParts); = quote(string).split(CategoryConfig::categorySeparator, QString::SkipEmptyParts);
#else
= quote(string).split(CategoryConfig::categorySeparator, Qt::SkipEmptyParts);
#endif
return unquote(_path); return unquote(_path);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment