diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-12-08 14:18:27 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-08 16:17:52 +0100 |
commit | 8c6517374630b12ae53899066bea2d9292f52bb3 (patch) | |
tree | 5ea1e6f05eda3bc8585307ce3461ccca0c3e9306 | |
parent | e39ec4e56455e09ed38d98cbb825580735e8e7ed (diff) | |
download | subsurface-8c6517374630b12ae53899066bea2d9292f52bb3.tar.gz |
Rename the radio button to match label kgs->kg
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/preferences.cpp | 2 | ||||
-rw-r--r-- | qt-ui/preferences.ui | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index a373ef095..7f0a94c4c 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -90,7 +90,7 @@ void PreferencesDialog::setUiFromPrefs() ui.psi->setChecked(prefs.units.pressure == units::PSI); ui.liter->setChecked(prefs.units.volume == units::LITER); ui.cuft->setChecked(prefs.units.volume == units::CUFT); - ui.kgs->setChecked(prefs.units.weight == units::KG); + ui.kg->setChecked(prefs.units.weight == units::KG); ui.lbs->setChecked(prefs.units.weight == units::LBS); ui.font->setFont(QString(prefs.divelist_font)); diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui index aef83aa6f..345d2eca7 100644 --- a/qt-ui/preferences.ui +++ b/qt-ui/preferences.ui @@ -417,7 +417,7 @@ </widget> </item> <item row="4" column="1"> - <widget class="QRadioButton" name="kgs"> + <widget class="QRadioButton" name="kg"> <property name="text"> <string>kg</string> </property> |