Remove unused variable
Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23829
This commit is contained in:
parent
9ea29e3891
commit
26b4b6580c
1 changed files with 0 additions and 3 deletions
|
@ -136,7 +136,6 @@ void Platform::requestOutputsChange(KWayland::Server::OutputConfigurationInterfa
|
||||||
using Enablement = KWayland::Server::OutputDeviceInterface::Enablement;
|
using Enablement = KWayland::Server::OutputDeviceInterface::Enablement;
|
||||||
|
|
||||||
const auto changes = config->changes();
|
const auto changes = config->changes();
|
||||||
bool countChanged = false;
|
|
||||||
|
|
||||||
//process all non-disabling changes
|
//process all non-disabling changes
|
||||||
for (auto it = changes.begin(); it != changes.end(); it++) {
|
for (auto it = changes.begin(); it != changes.end(); it++) {
|
||||||
|
@ -151,7 +150,6 @@ void Platform::requestOutputsChange(KWayland::Server::OutputConfigurationInterfa
|
||||||
if (changeset->enabledChanged() &&
|
if (changeset->enabledChanged() &&
|
||||||
changeset->enabled() == Enablement::Enabled) {
|
changeset->enabled() == Enablement::Enabled) {
|
||||||
output->setEnabled(true);
|
output->setEnabled(true);
|
||||||
countChanged = true;
|
|
||||||
}
|
}
|
||||||
output->applyChanges(changeset);
|
output->applyChanges(changeset);
|
||||||
}
|
}
|
||||||
|
@ -174,7 +172,6 @@ void Platform::requestOutputsChange(KWayland::Server::OutputConfigurationInterfa
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
output->setEnabled(false);
|
output->setEnabled(false);
|
||||||
countChanged = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
emit screens()->changed();
|
emit screens()->changed();
|
||||||
|
|
Loading…
Reference in a new issue