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
Utilities
Konsole
Commits
65614265
Commit
65614265
authored
Jun 13, 2012
by
Jekyll Wu
Browse files
Delete the useless 'Transparency=' entries when saving colorscheme
parent
822f771c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ColorScheme.cpp
View file @
65614265
...
...
@@ -353,6 +353,9 @@ void ColorScheme::writeColorEntry(KConfig& config , int index) const
if
(
configGroup
.
hasKey
(
"Transparent"
)
)
{
configGroup
.
deleteEntry
(
"Transparent"
);
}
if
(
configGroup
.
hasKey
(
"Transparency"
)
)
{
configGroup
.
deleteEntry
(
"Transparency"
);
}
if
(
entry
.
fontWeight
!=
ColorEntry
::
UseCurrentFormat
)
{
configGroup
.
writeEntry
(
"Bold"
,
entry
.
fontWeight
==
ColorEntry
::
Bold
);
}
...
...
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