Commit c7e107d4 authored by Volker Krause's avatar Volker Krause
Browse files

Fix build with Qt 5.15

parent 20be74e9
......@@ -58,7 +58,11 @@ PerldocProtocol::~PerldocProtocol()
void PerldocProtocol::get(const QUrl &url)
{
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
QStringList l = url.path().split('/', Qt::SkipEmptyParts);
#else
QStringList l = url.path().split('/', QString::SkipEmptyParts);
#endif
// Check for perldoc://foo
if(!url.host().isEmpty()) {
......
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