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
99291630
Commit
99291630
authored
Nov 02, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
Print debug information when something failed
Will make it easier to debug issues in the future.
parent
5cef3220
Changes
1
Hide whitespace changes
Inline
Side-by-side
kded/daemon.cpp
View file @
99291630
...
...
@@ -69,6 +69,7 @@ void KScreenDaemon::getInitialConfig()
connect
(
new
KScreen
::
GetConfigOperation
,
&
KScreen
::
GetConfigOperation
::
finished
,
this
,
[
this
](
KScreen
::
ConfigOperation
*
op
)
{
if
(
op
->
hasError
())
{
qCDebug
(
KSCREEN_KDED
)
<<
"Error getting initial configuration"
<<
op
->
errorString
();
return
;
}
...
...
@@ -234,7 +235,7 @@ void KScreenDaemon::applyKnownConfig()
if
(
readInConfig
)
{
doApplyConfig
(
std
::
move
(
readInConfig
));
}
else
{
// loading not successful
, fall back to ideal config
qCDebug
(
KSCREEN_KDED
)
<<
"Loading failed
, fall
ing
back to
the
ideal config
"
<<
m_monitoredConfig
->
id
();
applyIdealConfig
();
}
}
...
...
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