Remove change-set null check
Summary: It is unnecessary to check if the change-set is null when looking at the KWayland code. Also the check would be useless at the moment anyway because before the check we access the change-set already in the DRM backend and at the check we would not return if it would be null. Test Plan: Relevant auto tests pass. Reviewers: #kwin, zzag Reviewed By: #kwin, zzag Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23428
This commit is contained in:
parent
36ee672903
commit
9bf7cbc7f6
1 changed files with 0 additions and 4 deletions
|
@ -112,10 +112,6 @@ void AbstractWaylandOutput::setChanges(KWayland::Server::OutputChangeSet *change
|
|||
qCDebug(KWIN_CORE) << "Set changes in AbstractWaylandOutput.";
|
||||
Q_ASSERT(!m_waylandOutputDevice.isNull());
|
||||
|
||||
if (!changes) {
|
||||
qCDebug(KWIN_CORE) << "No changes.";
|
||||
// No changes to an output is an entirely valid thing
|
||||
}
|
||||
//enabledChanged is handled by plugin code
|
||||
if (changes->modeChanged()) {
|
||||
qCDebug(KWIN_CORE) << "Setting new mode:" << changes->mode();
|
||||
|
|
Loading…
Reference in a new issue