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

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);
}
......
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