Commit 983ad242 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

Change qpainter connect for initOutput to outputEnabled


(cherry picked from commit 90007b90)
parent 20135166
...@@ -25,7 +25,7 @@ DrmQPainterBackend::DrmQPainterBackend(DrmBackend *backend, DrmGpu *gpu) ...@@ -25,7 +25,7 @@ DrmQPainterBackend::DrmQPainterBackend(DrmBackend *backend, DrmGpu *gpu)
for (auto output: outputs) { for (auto output: outputs) {
initOutput(output); initOutput(output);
} }
connect(m_gpu, &DrmGpu::outputAdded, this, &DrmQPainterBackend::initOutput); connect(m_gpu, &DrmGpu::outputEnabled, this, &DrmQPainterBackend::initOutput);
connect(m_gpu, &DrmGpu::outputDisabled, this, connect(m_gpu, &DrmGpu::outputDisabled, this,
[this] (DrmOutput *o) { [this] (DrmOutput *o) {
auto it = std::find_if(m_outputs.begin(), m_outputs.end(), auto it = std::find_if(m_outputs.begin(), m_outputs.end(),
......
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