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
Plasma Workspace
Commits
ae871853
Commit
ae871853
authored
Mar 06, 2022
by
Volker Krause
Browse files
Don't rely on implicit QScopedPointer to bool conversion
No longer available in Qt6.
parent
3ee46882
Pipeline
#146299
passed with stage
in 5 minutes and 32 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
kcms/lookandfeel/kcm.cpp
View file @
ae871853
...
...
@@ -303,7 +303,7 @@ void KCMLookandFeel::save()
KSharedConfigPtr
conf
=
KSharedConfig
::
openConfig
(
package
.
filePath
(
"defaults"
));
KConfigGroup
cg
(
conf
,
"kdeglobals"
);
QScopedPointer
<
QStyle
>
newStyle
(
QStyleFactory
::
create
(
cg
.
readEntry
(
"widgetStyle"
,
QString
())));
m_lnf
->
setApplyWidgetStyle
(
newStyle
);
m_lnf
->
setApplyWidgetStyle
(
!
newStyle
.
isNull
()
);
}
ManagedConfigModule
::
save
();
...
...
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