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 ...@@ -311,7 +311,7 @@ QDataStream &operator<<(QDataStream &stream, const KIdentityManagement::Signatur
return stream << img->image << img->name; 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; return stream >> img->image >> img->name;
} }
......
...@@ -99,7 +99,7 @@ public: ...@@ -99,7 +99,7 @@ public:
/** Constructor for disabled signature */ /** Constructor for disabled signature */
Signature(); Signature();
/** Constructor for inline text */ /** 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 */ /** Constructor for text from a file or from output of a command */
Signature(const QString &path, bool isExecutable); Signature(const QString &path, bool isExecutable);
/** Copy constructor */ /** Copy constructor */
......
Supports Markdown
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