Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KScreen
Commits
877f5db4
Commit
877f5db4
authored
Sep 25, 2022
by
Xaver Hugl
Browse files
kded/output: when loading all configs fails, enable the output as a fallback
(cherry picked from commit
d24d446a
)
parent
ed95ce55
Pipeline
#237122
passed with stage
in 2 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kded/output.cpp
View file @
877f5db4
...
...
@@ -399,6 +399,7 @@ void Output::readInOutputs(KScreen::ConfigPtr config, const QVariantList &output
" or a different device with the same serial number has been connected (very unlikely)."
;
if
(
!
readInGlobal
(
output
))
{
// set some default values instead
output
->
setEnabled
(
true
);
readInGlobalPartFromInfo
(
output
,
QVariantMap
());
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment