Change it to path() to be consistent with the other usages in the project :)
See: https://doc.qt.io/qt-5/qurl.html#path
Signed-off-by: Michael Schuster <michael@schuster.ms>
void WebViewPageUrlSchemeHandler::requestStarted(QWebEngineUrlRequestJob *request) {
QUrl url = request->requestUrl();
- QString path = url.path(nullptr).mid(1); // get undecoded path
+ QString path = url.path().mid(1); // get undecoded path
const QStringList parts = path.split("&");
QString server;