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
da7c1aff
Commit
da7c1aff
authored
Dec 31, 2021
by
Kurt Hindenburg
Browse files
qreal is double by default; adding f to numbers causes conversions
parent
da463344
Pipeline
#116485
passed with stage
in 1 minute and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/colorscheme/ColorScheme.cpp
View file @
da7c1aff
...
...
@@ -188,7 +188,7 @@ ColorScheme::ColorScheme()
,
_colorRandomization
(
false
)
,
_wallpaper
(
nullptr
)
{
setWallpaper
(
QString
(),
ColorSchemeWallpaper
::
Tile
,
QPointF
(
0.5
f
,
0.5
f
),
1.0
);
setWallpaper
(
QString
(),
ColorSchemeWallpaper
::
Tile
,
QPointF
(
0.5
,
0.5
),
1.0
);
}
ColorScheme
::
ColorScheme
(
const
ColorScheme
&
other
)
...
...
@@ -467,7 +467,7 @@ void ColorScheme::read(const KConfig &config)
_blur
=
configGroup
.
readEntry
(
"Blur"
,
false
);
setWallpaper
(
configGroup
.
readEntry
(
"Wallpaper"
,
QString
()),
configGroup
.
readEntry
(
"FillStyle"
,
QString
::
fromLatin1
(
"Tile"
)),
configGroup
.
readEntry
(
"Anchor"
,
QPointF
(
0.5
f
,
0.5
f
)),
configGroup
.
readEntry
(
"Anchor"
,
QPointF
(
0.5
,
0.5
)),
configGroup
.
readEntry
(
"WallpaperOpacity"
,
1.0
));
_colorRandomization
=
configGroup
.
readEntry
(
EnableColorRandomizationKey
,
false
);
...
...
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