Commit aa9e079b authored by Alexander Lohnau's avatar Alexander Lohnau 💬

clang-tidy: Force braces around statements

parent 0ae03aa6
......@@ -103,8 +103,9 @@ void WaylandOutput::updateKScreenOutput(OutputPtr &output)
output->setSizeMm(m_device->physicalSize());
output->setPos(m_device->globalPosition());
output->setRotation(s_rotationMap[m_device->transform()]);
if (!output->edid())
if (!output->edid()) {
output->setEdid(m_device->edid());
}
ModeList modeList;
QStringList preferredModeIds;
......
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