Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 06c0513f authored by Frederik Gladhorn's avatar Frederik Gladhorn

Do not compare smartpointer with nullptr, use .isNull instead

parent 1fd3bee3
......@@ -460,7 +460,7 @@ void Output::setClones(QList<int> outputlist)
void Output::setEdid(const QByteArray& rawData)
{
Q_ASSERT(d->edid == nullptr);
Q_ASSERT(d->edid.isNull());
d->edid = new Edid(rawData);
}
......
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