Commit ed95ce55 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

Revert "when loading defaults don't forget to set enablement"

This reverts commit 30376403 because it overwrites
enablement for all connected outputs

BUG: 459253


(cherry picked from commit 8d275814)
parent 00734866
Pipeline #237121 canceled with stage
......@@ -91,7 +91,6 @@ void Output::readInGlobalPartFromInfo(KScreen::OutputPtr output, const QVariantM
output->setVrrPolicy(config.vrrPolicy.value_or(KScreen::Output::VrrPolicy::Automatic));
output->setOverscan(config.overscan.value_or(0));
output->setRgbRange(config.rgbRange.value_or(KScreen::Output::RgbRange::Automatic));
output->setEnabled(true); // gets disabled later if necessary
KScreen::ModePtr matchingMode;
if (config.modeId) {
......
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