From e471b90dfbb93e6502fce9fd50f4d76b17d6ccbb Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 15 Aug 2023 16:59:21 +0300 Subject: [PATCH] kdeplasma-addons: adjust default plasmaweather visibility unit the new unit conversion class (KLength, replaced KUnitConversion some time ago) does not accept "ml" Signed-off-by: Ivailo Monev --- kdeplasma-addons/libs/plasmaweather/weatherpopupapplet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdeplasma-addons/libs/plasmaweather/weatherpopupapplet.cpp b/kdeplasma-addons/libs/plasmaweather/weatherpopupapplet.cpp index 950933b2..c1d4e778 100644 --- a/kdeplasma-addons/libs/plasmaweather/weatherpopupapplet.cpp +++ b/kdeplasma-addons/libs/plasmaweather/weatherpopupapplet.cpp @@ -295,7 +295,7 @@ void WeatherPopupApplet::configChanged() d->temperatureUnit = cfg.readEntry("temperatureUnit", "F"); d->speedUnit = cfg.readEntry("speedUnit", "mph"); d->pressureUnit = cfg.readEntry("pressureUnit", "inHg"); - d->visibilityUnit = cfg.readEntry("visibilityUnit", "ml"); + d->visibilityUnit = cfg.readEntry("visibilityUnit", "mi"); } d->updateInterval = cfg.readEntry("updateInterval", 30); d->source = cfg.readEntry("source", ""); -- 2.11.0