Commit 4092da9d authored by Ismael Asensio's avatar Ismael Asensio Committed by Nate Graham
Browse files

Add mmHg to pressure options in weather applet

Add millimeters of mercury (mmHg) to pressure options in weather applet, which is a common pressure unit in some countries

FEATURE: 401734
FIXED-IN: 5.18.0

Test Plan: You can select 'mmHg' as the pressure unit and it displays correctly in the widget

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision:
parent dc40abfa
......@@ -51,7 +51,8 @@ static QObject* pressureUnitListModelSingletonTypeProvider(QQmlEngine *engine, Q
UnitItem(i18nc("@item", "Hectopascals hPa"), KUnitConversion::Hectopascal),
UnitItem(i18nc("@item", "Kilopascals kPa"), KUnitConversion::Kilopascal),
UnitItem(i18nc("@item", "Millibars mbar"), KUnitConversion::Millibar),
UnitItem(i18nc("@item", "Inches of Mercury inHg"), KUnitConversion::InchesOfMercury)
UnitItem(i18nc("@item", "Inches of Mercury inHg"), KUnitConversion::InchesOfMercury),
UnitItem(i18nc("@item", "Millimeters of Mercury mmHg"), KUnitConversion::MillimetersOfMercury)
return new AbstractUnitListModel(items);
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