Commit 8784cf60 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated method

parent ea1371b3
......@@ -460,7 +460,11 @@ void KameraProtocol::split_url2camerapath(const QString &url,
QStringList components, camarr;
QString cam, camera, port;
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
components = url.split(QLatin1Char('/'), QString::SkipEmptyParts);
#else
components = url.split(QLatin1Char('/'), Qt::SkipEmptyParts);
#endif
if (components.size() == 0) {
return;
}
......
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