From 8e71f092c5b525745b0c9f61607f3028b29d0afc Mon Sep 17 00:00:00 2001 From: cc9cii Date: Fri, 26 Sep 2014 12:36:55 +1000 Subject: [PATCH] Comment out setMinimum which is broken. --- apps/opencs/model/settings/usersettings.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/opencs/model/settings/usersettings.cpp b/apps/opencs/model/settings/usersettings.cpp index b70154ef9..d28512e12 100644 --- a/apps/opencs/model/settings/usersettings.cpp +++ b/apps/opencs/model/settings/usersettings.cpp @@ -76,9 +76,9 @@ void CSMSettings::UserSettings::buildSettingModelDefaults() fastFactor->setDefaultValue(4); fastFactor->setEditorSetting(false); fastFactor->setColumnSpan (1); - // FIXME: setMinimum or setSpecialVlueText appears to be broken, possibly due + // FIXME: setMinimum or setSpecialValueText appears to be broken, possibly due // to there being an empty string default for special value text. - fastFactor->setMinimum (1); + //fastFactor->setMinimum (1); fastFactor->setSpecialValueText("1"); // workaround for above fastFactor->setMaximum (100); // FIXME: not sure what the max value should be fastFactor->setWidgetWidth (10); @@ -109,7 +109,7 @@ void CSMSettings::UserSettings::buildSettingModelDefaults() maxSubView->setDefaultValue(3); maxSubView->setEditorSetting(false); maxSubView->setColumnSpan (1); - maxSubView->setMinimum (1); + //maxSubView->setMinimum (1); maxSubView->setSpecialValueText("1"); // workaround for setMinimum maxSubView->setMaximum (100); // FIXME: not sure what the max value should be maxSubView->setWidgetWidth (10); @@ -119,8 +119,8 @@ void CSMSettings::UserSettings::buildSettingModelDefaults() minWidth->setDefaultValue(325); minWidth->setEditorSetting(false); minWidth->setColumnSpan (1); - minWidth->setMinimum (50); - maxSubView->setSpecialValueText("50"); // workaround for setMinimum + //minWidth->setMinimum (50); + minWidth->setSpecialValueText("50"); // workaround for setMinimum minWidth->setMaximum (10000); // FIXME: not sure what the max value should be minWidth->setWidgetWidth (10); minWidth->setViewLocation(2, 2);