Commit f62f316a authored by Frederik Gladhorn's avatar Frederik Gladhorn

In function returning void, use plain return

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14075
parent 439feca2
......@@ -172,7 +172,8 @@ void KScreenDaemon::applyKnownConfig()
KScreen::ConfigPtr config = Serializer::config(m_monitoredConfig, configId);
// It's possible that the Serializer returned a nullptr
if (!config || !KScreen::Config::canBeApplied(config, KScreen::Config::ValidityFlag::RequireAtLeastOneEnabledScreen)) {
return applyIdealConfig();
applyIdealConfig();
return;
}
doApplyConfig(config);
}
......
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