Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
1cf02aad
Commit
1cf02aad
authored
Apr 26, 2021
by
Bharadwaj Raju
📚
Committed by
Nate Graham
Apr 29, 2021
Browse files
Load panelOpacity from config parent, not from config
BUG: 434285
FIXED-IN: 5.22
parent
a00f96ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/panelview.cpp
View file @
1cf02aad
...
...
@@ -633,7 +633,7 @@ void PanelView::restore()
// the place for this config key is changed in Plasma 5.9
// Do NOT use readConfigValueWithFallBack
setVisibilityMode
((
VisibilityMode
)
panelConfig
.
parent
().
readEntry
<
int
>
(
"panelVisibility"
,
panelConfig
.
readEntry
<
int
>
(
"panelVisibility"
,
(
int
)
NormalPanel
)));
setOpacityMode
((
OpacityMode
)
readConfigValueWithFallBack
(
"panelOpacity"
,
PanelView
::
OpacityMode
::
Adaptive
));
setOpacityMode
((
OpacityMode
)
config
().
parent
().
readEntry
<
int
>
(
"panelOpacity"
,
configDefaults
().
parent
().
readEntry
<
int
>
(
"panelOpacity"
,
PanelView
::
OpacityMode
::
Adaptive
))
)
;
m_initCompleted
=
true
;
resizePanel
();
positionPanel
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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