Skip to content
Commit cc8f88d9 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Simplify XRandR::outputChanged

By returning early, we can avoid some of the nesting. The old code would
call m_configChangeCompressor->start() in any case, move that to the
beginning and then use early returns.
There is actually very little code changed, "git show -w" shows the
actual changes. The fallthrough was hard to read.

Reviewers: #plasma

Subscribers: mart, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14764
parent 6f5acdf2
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