diff options
author | Andy Shaw <andy.shaw@qt.io> | 2020-05-27 00:03:36 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2020-06-22 10:39:53 +0200 |
commit | a97bde90a0ddc05a090f506f0e3dd3872a9aef4e (patch) | |
tree | a50f7d6445dd3b1fa775b24c214ed60fe6cdf493 /src/oauth/qoauthhttpserverreplyhandler.cpp | |
parent | 15a68ae0216e8963c17ddb7b3b312bd74cdc5f7b (diff) |
Silence warning about deprecated code
Change-Id: I69b2e29b47144b5c72ea3828840bbd5d01ea7c37
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
Diffstat (limited to 'src/oauth/qoauthhttpserverreplyhandler.cpp')
-rw-r--r-- | src/oauth/qoauthhttpserverreplyhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oauth/qoauthhttpserverreplyhandler.cpp b/src/oauth/qoauthhttpserverreplyhandler.cpp index aefdd08..72b5d01 100644 --- a/src/oauth/qoauthhttpserverreplyhandler.cpp +++ b/src/oauth/qoauthhttpserverreplyhandler.cpp @@ -289,7 +289,7 @@ void QOAuthHttpServerReplyHandler::setCallbackPath(const QString &path) Q_D(QOAuthHttpServerReplyHandler); QString copy = path; - while (copy.startsWith('/')) + while (copy.startsWith(QLatin1Char('/'))) copy = copy.mid(1); d->path = copy; |