diff --git a/src/platform.cpp b/src/platform.cpp index 1722e1e8a2..d601bae32d 100644 --- a/src/platform.cpp +++ b/src/platform.cpp @@ -151,8 +151,8 @@ void Platform::requestOutputsChange(KWaylandServer::OutputConfigurationV2Interfa bool Platform::applyOutputChanges(const WaylandOutputConfig &config) { - const auto outputs = enabledOutputs(); - for (const auto &output : outputs) { + const auto availableOutputs = outputs(); + for (const auto &output : availableOutputs) { static_cast(output)->applyChanges(config); } return true;