Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libkscreen
Commits
034660bc
Commit
034660bc
authored
Oct 23, 2020
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
Oct 29, 2020
Browse files
Prefer straightforward API
parent
7fa415b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
backends/kwayland/waylandoutput.cpp
View file @
034660bc
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment