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
KIdentityManagement
Commits
366311fe
Commit
366311fe
authored
Sep 29, 2021
by
Laurent Montel
😁
Browse files
Fix some cppcheck
parent
92ce5a6e
Pipeline
#83380
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/signature.cpp
View file @
366311fe
...
...
@@ -311,7 +311,7 @@ QDataStream &operator<<(QDataStream &stream, const KIdentityManagement::Signatur
return
stream
<<
img
->
image
<<
img
->
name
;
}
QDataStream
&
operator
>>
(
QDataStream
&
stream
,
KIdentityManagement
::
Signature
::
EmbeddedImagePtr
&
img
)
QDataStream
&
operator
>>
(
QDataStream
&
stream
,
const
KIdentityManagement
::
Signature
::
EmbeddedImagePtr
&
img
)
{
return
stream
>>
img
->
image
>>
img
->
name
;
}
...
...
src/signature.h
View file @
366311fe
...
...
@@ -99,7 +99,7 @@ public:
/** Constructor for disabled signature */
Signature
();
/** Constructor for inline text */
Signature
(
const
QString
&
text
);
explicit
Signature
(
const
QString
&
text
);
/** Constructor for text from a file or from output of a command */
Signature
(
const
QString
&
path
,
bool
isExecutable
);
/** Copy constructor */
...
...
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