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
2c6e449a
Commit
2c6e449a
authored
Dec 31, 2021
by
Kurt Hindenburg
Browse files
qreal is double by default; adding f to numbers causes conversions
parent
da7c1aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/colorscheme/ColorSchemeWallpaper.cpp
View file @
2c6e449a
...
...
@@ -27,7 +27,7 @@ ColorSchemeWallpaper::ColorSchemeWallpaper(const QString &path, const ColorSchem
float
x
=
_anchor
.
x
(),
y
=
_anchor
.
y
();
if
(
x
<
0
||
x
>
1.0
f
||
y
<
0
||
y
>
1.0
f
)
_anchor
=
QPointF
(
0.5
f
,
0.5
f
);
_anchor
=
QPointF
(
0.5
,
0.5
);
}
ColorSchemeWallpaper
::~
ColorSchemeWallpaper
()
=
default
;
...
...
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