Commit da7c1aff authored by Kurt Hindenburg's avatar 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
......@@ -188,7 +188,7 @@ ColorScheme::ColorScheme()
, _colorRandomization(false)
, _wallpaper(nullptr)
{
setWallpaper(QString(), ColorSchemeWallpaper::Tile, QPointF(0.5f, 0.5f), 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.5f, 0.5f)),
configGroup.readEntry("Anchor", QPointF(0.5, 0.5)),
configGroup.readEntry("WallpaperOpacity", 1.0));
_colorRandomization = configGroup.readEntry(EnableColorRandomizationKey, false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment