Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KIO GDrive
Commits
720962f0
Commit
720962f0
authored
Aug 07, 2022
by
Nicolas Fella
Browse files
Port away from deprecated QString::SplitBehavior
parent
35c1ae08
Pipeline
#215364
passed with stage
in 59 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/keychainaccountmanager.cpp
View file @
720962f0
...
...
@@ -45,7 +45,7 @@ KGAPI2::AccountPtr KeychainAccountManager::account(const QString &accountName)
const
auto
entry
=
readMap
(
accountName
);
const
QStringList
scopes
=
entry
.
value
(
QStringLiteral
(
"scopes"
)).
split
(
QLatin1Char
(
','
),
Q
String
::
SkipEmptyParts
);
const
QStringList
scopes
=
entry
.
value
(
QStringLiteral
(
"scopes"
)).
split
(
QLatin1Char
(
','
),
Q
t
::
SkipEmptyParts
);
QList
<
QUrl
>
scopeUrls
;
for
(
const
QString
&
scope
:
scopes
)
{
scopeUrls
<<
QUrl
::
fromUserInput
(
scope
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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