Commit 098ae52e authored by Frederik Gladhorn's avatar Frederik Gladhorn

Use nullptr instead of Q_NULLPTR

parent 49ea560a
......@@ -115,8 +115,8 @@ void QMLScreen::removeOutput(int outputId)
for (const KScreen::OutputPtr &output : m_outputMap.keys()) {
if (output->id() == outputId) {
QMLOutput *qmlOutput = m_outputMap.take(output);
qmlOutput->setParentItem(Q_NULLPTR);
qmlOutput->setParent(Q_NULLPTR);
qmlOutput->setParentItem(nullptr);
qmlOutput->setParent(nullptr);
qmlOutput->deleteLater();
return;
}
......
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