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
d715520c
Commit
d715520c
authored
Oct 16, 2022
by
Han Young
Committed by
Nate Graham
Oct 17, 2022
Browse files
fix is default locale check
BUG: 460418
(cherry picked from commit
6e550880
)
parent
e84a0659
Pipeline
#249496
passed with stage
in 17 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kcms/region_language/kcmregionandlang.cpp
View file @
d715520c
...
...
@@ -83,13 +83,13 @@ void KCMRegionAndLang::save()
if
(
!
settings
()
->
isDefaultSetting
(
SettingType
::
PaperSize
))
{
locales
.
append
(
settings
()
->
paperSize
());
}
if
(
settings
()
->
isDefaultSetting
(
SettingType
::
Address
))
{
if
(
!
settings
()
->
isDefaultSetting
(
SettingType
::
Address
))
{
locales
.
append
(
settings
()
->
address
());
}
if
(
settings
()
->
isDefaultSetting
(
SettingType
::
NameStyle
))
{
if
(
!
settings
()
->
isDefaultSetting
(
SettingType
::
NameStyle
))
{
locales
.
append
(
settings
()
->
nameStyle
());
}
if
(
settings
()
->
isDefaultSetting
(
SettingType
::
PhoneNumbers
))
{
if
(
!
settings
()
->
isDefaultSetting
(
SettingType
::
PhoneNumbers
))
{
locales
.
append
(
settings
()
->
phoneNumbers
());
}
if
(
!
settings
()
->
language
().
isEmpty
())
{
...
...
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