Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KIMAP
Commits
f02e41f5
Commit
f02e41f5
authored
Apr 30, 2021
by
Laurent Montel
😁
Browse files
Use QStringView
parent
5593933a
Pipeline
#60251
passed with stage
in 5 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/loginjob.cpp
View file @
f02e41f5
...
...
@@ -360,7 +360,7 @@ void LoginJob::handleResponse(const Response &response)
// find the selected SASL authentication method
for
(
const
QString
&
capability
:
qAsConst
(
d
->
capabilities
))
{
if
(
capability
.
startsWith
(
QLatin1String
(
"AUTH="
)))
{
if
(
capability
.
mid
Ref
(
5
)
==
d
->
authMode
)
{
if
(
QStringView
(
capability
)
.
mid
(
5
)
==
d
->
authMode
)
{
authModeSupported
=
true
;
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment