From 7fd431b50fd1ea50ca9a2eb866870a2f87b20633 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Wed, 20 May 2020 02:30:45 +0200 Subject: [PATCH] Use the default parameter: QUrl::path(QUrl::PrettyDecoded = 0x000000) 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 --- src/gui/wizard/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/wizard/webview.cpp b/src/gui/wizard/webview.cpp index d6c583fb9..a901be103 100644 --- a/src/gui/wizard/webview.cpp +++ b/src/gui/wizard/webview.cpp @@ -144,7 +144,7 @@ WebViewPageUrlSchemeHandler::WebViewPageUrlSchemeHandler(QObject *parent) 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;