Skip to content

Commit

Permalink
Update preferencesmodel.cpp.in
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb committed Jan 15, 2024
1 parent ed19af9 commit 3e89e04
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Desktop/gui/preferencesmodel.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ GET_PREF_FUNC_INT( customPPI, Settings::PPI_CUSTOM_VALUE )
GET_PREF_FUNC_WHT( whiteBackground, Settings::IMAGE_BACKGROUND )
GET_PREF_FUNC_STR( plotBackground, Settings::IMAGE_BACKGROUND )
GET_PREF_FUNC_BOOL( developerMode, Settings::DEVELOPER_MODE )
GET_PREF_FUNC_BOOL( customThresholdScale, Settings::USE_CUSTOM_THRESHOLD_SCALE )
GET_PREF_FUNC_INT( thresholdScale, Settings::THRESHOLD_SCALE )
GET_PREF_FUNC_BOOL( logToFile, Settings::LOG_TO_FILE )
GET_PREF_FUNC_INT( logFilesMax, Settings::LOG_FILES_MAX )
Expand Down Expand Up @@ -407,15 +406,6 @@ void PreferencesModel::resetEmptyValues()
_setEmptyValues(defaultValues);
}

void PreferencesModel::setCustomThresholdScale(bool newCustomThresholdScale)
{
if (customThresholdScale() == newCustomThresholdScale)
return;

Settings::setValue(Settings::USE_CUSTOM_THRESHOLD_SCALE, newCustomThresholdScale);
emit customThresholdScaleChanged (newCustomThresholdScale);
}

void PreferencesModel::setThresholdScale(int newThresholdScale)
{
if (thresholdScale() == newThresholdScale)
Expand Down

0 comments on commit 3e89e04

Please sign in to comment.