Commit 10625146 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision:
parent c66291ec
......@@ -53,7 +53,7 @@ class KSCREEN_EXPORT Edid: public QObject
explicit Edid(const QByteArray &data, QObject *parent = nullptr);
~Edid() override;
Edid* clone() const;
Q_REQUIRED_RESULT Edid* clone() const;
bool isValid() const;
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