Commit 034660bc authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Prefer straightforward API

parent 7fa415b7
......@@ -43,8 +43,7 @@ s_rotationMap = {
Output::Rotation toKScreenRotation(const Wl::OutputDevice::Transform transform)
auto it = s_rotationMap.constFind(transform);
return it.value();
return s_rotationMap.value(transform);
Wl::OutputDevice::Transform toKWaylandTransform(const Output::Rotation rotation)
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