summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-16 22:00:26 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-17 15:29:42 +0100
commit9ec7aa7fd730da140639052e8831ff5c910fc6cb (patch)
tree7b79d0644a150aaa81165eee98c1408dc39afdc8 /core/subsurface-qt
parent7fa5fcfa1d3917f125d772708ff742f5e4b1758d (diff)
downloadsubsurface-9ec7aa7fd730da140639052e8831ff5c910fc6cb.tar.gz
Fix typo: LENGHT -> LENGTH
Diffstat (limited to 'core/subsurface-qt')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index d1146b7b6..16987d6ae 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -1625,7 +1625,7 @@ void UnitsSettings::setLength(int value)
QSettings s;
s.beginGroup(group);
s.setValue("length", value);
- prefs.units.length = (units::LENGHT) value;
+ prefs.units.length = (units::LENGTH) value;
emit lengthChanged(value);
}