Commit f62f316a authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

In function returning void, use plain return

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
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();
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