Remember to look for the Group
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c47c3555f6
commit
eb6f9e263c
@ -1655,7 +1655,7 @@ void UnitsSettings::setUnitSystem(const QString& value)
|
||||
return;
|
||||
|
||||
QSettings s;
|
||||
|
||||
s.beginGroup(group);
|
||||
s.setValue("unit_system", value);
|
||||
|
||||
if (value == QStringLiteral("metric")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user