Commit 044aff7b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

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.
parent 2e2441bd
......@@ -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(); });
}
......
Markdown is supported
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