aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index a329e0452..8c8762b65 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -301,12 +301,12 @@ bool TechnicalDetailsSettings::calcndltts() const
return prefs.calcndltts;
}
-bool TechnicalDetailsSettings::gflow() const
+int TechnicalDetailsSettings::gflow() const
{
return prefs.gflow;
}
-bool TechnicalDetailsSettings::gfhigh() const
+int TechnicalDetailsSettings::gfhigh() const
{
return prefs.gfhigh;
}
@@ -496,7 +496,7 @@ void TechnicalDetailsSettings::setCalcndltts(bool value)
emit calcndlttsChanged(value);
}
-void TechnicalDetailsSettings::setGflow(bool value)
+void TechnicalDetailsSettings::setGflow(int value)
{
if (value == prefs.gflow)
return;
@@ -509,7 +509,7 @@ void TechnicalDetailsSettings::setGflow(bool value)
emit gflowChanged(value);
}
-void TechnicalDetailsSettings::setGfhigh(bool value)
+void TechnicalDetailsSettings::setGfhigh(int value)
{
if (value == prefs.gfhigh)
return;