platforms/drm: Fix outputDisabled signal
The outputDisabled() signal must be emitted **after** removing the output from a list of enabled outputs.
This commit is contained in:
parent
b0c26cc424
commit
d70cfadf96
1 changed files with 1 additions and 1 deletions
|
@ -350,8 +350,8 @@ void DrmBackend::removeOutput(DrmAbstractOutput *o)
|
|||
m_placeHolderOutput->renderLoop()->inhibit();
|
||||
}
|
||||
if (m_enabledOutputs.contains(o)) {
|
||||
Q_EMIT outputDisabled(o);
|
||||
m_enabledOutputs.removeOne(o);
|
||||
Q_EMIT outputDisabled(o);
|
||||
}
|
||||
m_outputs.removeOne(o);
|
||||
Q_EMIT outputRemoved(o);
|
||||
|
|
Loading…
Reference in a new issue