Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KPkPass
Commits
daa4e0b7
Commit
daa4e0b7
authored
Sep 07, 2020
by
Volker Krause
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass QLatin1String by value (clazy check)
parent
74a4804a
Pipeline
#33431
passed with stage
in 4 minutes and 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pass.cpp
src/pass.cpp
+1
-1
src/pass_p.h
src/pass_p.h
+1
-1
No files found.
src/pass.cpp
View file @
daa4e0b7
...
...
@@ -155,7 +155,7 @@ bool PassPrivate::parseMessages(const QString &lang)
return
!
messages
.
isEmpty
();
}
QVector
<
Field
>
PassPrivate
::
fields
(
const
QLatin1String
&
fieldType
,
const
Pass
*
q
)
const
QVector
<
Field
>
PassPrivate
::
fields
(
QLatin1String
fieldType
,
const
Pass
*
q
)
const
{
const
auto
a
=
passData
().
value
(
fieldType
).
toArray
();
QVector
<
Field
>
f
;
...
...
src/pass_p.h
View file @
daa4e0b7
...
...
@@ -27,7 +27,7 @@ public:
void
parse
();
bool
parseMessages
(
const
QString
&
lang
);
QVector
<
Field
>
fields
(
const
QLatin1String
&
fieldType
,
const
Pass
*
q
)
const
;
QVector
<
Field
>
fields
(
QLatin1String
fieldType
,
const
Pass
*
q
)
const
;
static
Pass
*
fromData
(
std
::
unique_ptr
<
QIODevice
>
device
,
QObject
*
parent
);
...
...
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