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
KWin
Commits
983ad242
Commit
983ad242
authored
Jan 27, 2021
by
Xaver Hugl
Browse files
Change qpainter connect for initOutput to outputEnabled
(cherry picked from commit
90007b90
)
parent
20135166
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/platforms/drm/scene_qpainter_drm_backend.cpp
View file @
983ad242
...
...
@@ -25,7 +25,7 @@ DrmQPainterBackend::DrmQPainterBackend(DrmBackend *backend, DrmGpu *gpu)
for
(
auto
output
:
outputs
)
{
initOutput
(
output
);
}
connect
(
m_gpu
,
&
DrmGpu
::
output
Add
ed
,
this
,
&
DrmQPainterBackend
::
initOutput
);
connect
(
m_gpu
,
&
DrmGpu
::
output
Enabl
ed
,
this
,
&
DrmQPainterBackend
::
initOutput
);
connect
(
m_gpu
,
&
DrmGpu
::
outputDisabled
,
this
,
[
this
]
(
DrmOutput
*
o
)
{
auto
it
=
std
::
find_if
(
m_outputs
.
begin
(),
m_outputs
.
end
(),
...
...
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