Commit 366311fe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some cppcheck

parent 92ce5a6e
Pipeline #83380 canceled with stage
......@@ -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;
}
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment