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
This commit is contained in:
parent
3dbb47745f
commit
3e37f896e3
1 changed files with 1 additions and 3 deletions
|
@ -179,10 +179,8 @@ void Compositor::setup()
|
|||
|
||||
if (!options->isCompositingInitialized()) {
|
||||
options->reloadCompositingSettings(true);
|
||||
slotCompositingOptionsInitialized();
|
||||
} else {
|
||||
slotCompositingOptionsInitialized();
|
||||
}
|
||||
slotCompositingOptionsInitialized();
|
||||
}
|
||||
|
||||
extern int screen_number; // main.cpp
|
||||
|
|
Loading…
Reference in a new issue