From: Michael Schuster Date: Wed, 20 May 2020 00:30:45 +0000 (+0200) Subject: Use the default parameter: QUrl::path(QUrl::PrettyDecoded = 0x000000) X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~227^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7fd431b50fd1ea50ca9a2eb866870a2f87b20633;p=nextcloud-desktop.git 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 --- 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;