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;
|
||||
|
||||
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 @@ void Platform::requestOutputsChange(KWayland::Server::OutputConfigurationInterfa
|
|||
if (changeset->enabledChanged() &&
|
||||
changeset->enabled() == Enablement::Enabled) {
|
||||
output->setEnabled(true);
|
||||
countChanged = true;
|
||||
}
|
||||
output->applyChanges(changeset);
|
||||
}
|
||||
|
@ -174,7 +172,6 @@ void Platform::requestOutputsChange(KWayland::Server::OutputConfigurationInterfa
|
|||
continue;
|
||||
}
|
||||
output->setEnabled(false);
|
||||
countChanged = true;
|
||||
}
|
||||
}
|
||||
emit screens()->changed();
|
||||
|
|
Loading…
Reference in a new issue