diff --git a/platform.cpp b/platform.cpp --- a/platform.cpp +++ b/platform.cpp @@ -136,7 +136,6 @@ using Enablement = KWayland::Server::OutputDeviceInterface::Enablement; const auto changes = config->changes(); - bool countChanged = false; //process all non-disabling changes for (auto it = changes.begin(); it != changes.end(); it++) { @@ -151,7 +150,6 @@ if (changeset->enabledChanged() && changeset->enabled() == Enablement::Enabled) { output->setEnabled(true); - countChanged = true; } output->applyChanges(changeset); } @@ -174,7 +172,6 @@ continue; } output->setEnabled(false); - countChanged = true; } } emit screens()->changed();