Commit 3e37f896 authored by Rohan Garg's avatar Rohan Garg
Browse files

Simplify compositing setup code

Summary: We can get rid of the superfluous if/else ladder.

Reviewers: kwin

Subscribers: #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D10393
parent 3dbb4774
......@@ -179,10 +179,8 @@ void Compositor::setup()
if (!options->isCompositingInitialized()) {
options->reloadCompositingSettings(true);
slotCompositingOptionsInitialized();
} else {
slotCompositingOptionsInitialized();
}
slotCompositingOptionsInitialized();
}
extern int screen_number; // main.cpp
......
Supports Markdown
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