mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
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 <michael@schuster.ms>
This commit is contained in:
parent
dea6ebaa35
commit
7fd431b50f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue