Commit 5422a4a8 authored by Andras Mantia's avatar Andras Mantia

Notify also if modes have changed

Summary:
Will be needed in the KCM to correctly update the UI
Backport for D17657
Depends on D17657

Reviewers: #plasma, dvratil

Reviewed By: dvratil

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17685
parent f5cce12d
......@@ -553,6 +553,7 @@ void Output::apply(const OutputPtr& other)
}
if (!d->compareModeList(d->modeList, other->d->modeList)) {
changes << &Output::outputChanged;
changes << &Output::modesChanged;
}
setPreferredModes(other->d->preferredModes);
......
Markdown is supported
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