OutputDevice: only report the scale when scaleFChanged is emitted
scaleChanged and scaleFChanged are emitted at the same time, there's no reason to send them twice.
This commit is contained in:
parent
026923db94
commit
571b7e86a8
1 changed files with 1 additions and 2 deletions
|
@ -133,8 +133,7 @@ OutputDeviceInterface::OutputDeviceInterface(Display *display, QObject *parent)
|
|||
connect(this, &OutputDeviceInterface::globalPositionChanged, this, [d] { d->updateGeometry(); });
|
||||
connect(this, &OutputDeviceInterface::modelChanged, this, [d] { d->updateGeometry(); });
|
||||
connect(this, &OutputDeviceInterface::manufacturerChanged, this, [d] { d->updateGeometry(); });
|
||||
connect(this, &OutputDeviceInterface::scaleFChanged, this, [d] { d->updateScale(); });
|
||||
connect(this, &OutputDeviceInterface::scaleChanged, this, [d] { d->updateScale(); });
|
||||
connect(this, &OutputDeviceInterface::scaleFChanged, this, [d] { d->updateScale(); });
|
||||
connect(this, &OutputDeviceInterface::colorCurvesChanged, this, [d] { d->updateColorCurves(); });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue